MediaSize is a two-dimensional size valued printing attribute
class that indicates the dimensions of the medium in a portrait orientation,
X dimension running along the bottom edge and the
dimension running along the left edge. Thus, the
Y dimension must be
greater than or equal to the
X dimension. Class
declares many standard media size values, organized into nested classes for
ISO, JIS, North American, engineering, and other media.
MediaSize is not yet used to specify media. Its current role is as a
mapping for named media (see
can use the mapping method
MediaSize.getMediaSizeForName(MediaSizeName) to find the physical
dimensions of the
MediaSizeName instances enumerated in this API.
This is useful for clients which need this information to format &