Uses of Class javax.print.attribute.standard.MediaSize (Java Platform SE 8 )
Date: 2023-01-18

## Uses of Class
javax.print.attribute.standard.MediaSize

- Packages that use MediaSize
  Package | Description
  --- | ---
  javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes.

- - ### Uses of MediaSize in javax.print.attribute.standard

    Fields in javax.print.attribute.standard declared as MediaSize
    Modifier and Type | Field and Description
    --- | ---
    `static MediaSize` | MediaSize.Engineering.`A` Specifies the engineering A size, 8.5 inch by 11 inch.
    `static MediaSize` | MediaSize.ISO.`A0` Specifies the ISO A0 size, 841 mm by 1189 mm.
    `static MediaSize` | MediaSize.ISO.`A1` Specifies the ISO A1 size, 594 mm by 841 mm.
    `static MediaSize` | MediaSize.ISO.`A10` Specifies the ISO A10 size, 26 mm by 37 mm.
    `static MediaSize` | MediaSize.ISO.`A2` Specifies the ISO A2 size, 420 mm by 594 mm.
    `static MediaSize` | MediaSize.ISO.`A3` Specifies the ISO A3 size, 297 mm by 420 mm.
    `static MediaSize` | MediaSize.ISO.`A4` Specifies the ISO A4 size, 210 mm by 297 mm.
    `static MediaSize` | MediaSize.ISO.`A5` Specifies the ISO A5 size, 148 mm by 210 mm.
    `static MediaSize` | MediaSize.ISO.`A6` Specifies the ISO A6 size, 105 mm by 148 mm.
    `static MediaSize` | MediaSize.ISO.`A7` Specifies the ISO A7 size, 74 mm by 105 mm.
    `static MediaSize` | MediaSize.ISO.`A8` Specifies the ISO A8 size, 52 mm by 74 mm.
    `static MediaSize` | MediaSize.ISO.`A9` Specifies the ISO A9 size, 37 mm by 52 mm.
    `static MediaSize` | MediaSize.Engineering.`B` Specifies the engineering B size, 11 inch by 17 inch.
    `static MediaSize` | MediaSize.ISO.`B0` Specifies the ISO B0 size, 1000 mm by 1414 mm.
    `static MediaSize` | MediaSize.JIS.`B0` Specifies the JIS B0 size, 1030 mm by 1456 mm.
    `static MediaSize` | MediaSize.ISO.`B1` Specifies the ISO B1 size, 707 mm by 1000 mm.
    `static MediaSize` | MediaSize.JIS.`B1` Specifies the JIS B1 size, 728 mm by 1030 mm.
    `static MediaSize` | MediaSize.ISO.`B10` Specifies the ISO B10 size, 31 mm by 44 mm.
    `static MediaSize` | MediaSize.JIS.`B10` Specifies the JIS B10 size, 32 mm by 45 mm.
    `static MediaSize` | MediaSize.ISO.`B2` Specifies the ISO B2 size, 500 mm by 707 mm.
    `static MediaSize` | MediaSize.JIS.`B2` Specifies the JIS B2 size, 515 mm by 728 mm.
    `static MediaSize` | MediaSize.ISO.`B3` Specifies the ISO B3 size, 353 mm by 500 mm.
    `static MediaSize` | MediaSize.JIS.`B3` Specifies the JIS B3 size, 364 mm by 515 mm.
    `static MediaSize` | MediaSize.ISO.`B4` Specifies the ISO B4 size, 250 mm by 353 mm.
    `static MediaSize` | MediaSize.JIS.`B4` Specifies the JIS B4 size, 257 mm by 364 mm.
    `static MediaSize` | MediaSize.ISO.`B5` Specifies the ISO B5 size, 176 mm by 250 mm.
    `static MediaSize` | MediaSize.JIS.`B5` Specifies the JIS B5 size, 182 mm by 257 mm.
    `static MediaSize` | MediaSize.ISO.`B6` Specifies the ISO B6 size, 125 mm by 176 mm.
    `static MediaSize` | MediaSize.JIS.`B6` Specifies the JIS B6 size, 128 mm by 182 mm.
    `static MediaSize` | MediaSize.ISO.`B7` Specifies the ISO B7 size, 88 mm by 125 mm.
    `static MediaSize` | MediaSize.JIS.`B7` Specifies the JIS B7 size, 91 mm by 128 mm.
    `static MediaSize` | MediaSize.ISO.`B8` Specifies the ISO B8 size, 62 mm by 88 mm.
    `static MediaSize` | MediaSize.JIS.`B8` Specifies the JIS B8 size, 64 mm by 91 mm.
    `static MediaSize` | MediaSize.ISO.`B9` Specifies the ISO B9 size, 44 mm by 62 mm.
    `static MediaSize` | MediaSize.JIS.`B9` Specifies the JIS B9 size, 45 mm by 64 mm.
    `static MediaSize` | MediaSize.Engineering.`C` Specifies the engineering C size, 17 inch by 22 inch.
    `static MediaSize` | MediaSize.ISO.`C3` Specifies the ISO C3 size, 324 mm by 458 mm.
    `static MediaSize` | MediaSize.ISO.`C4` Specifies the ISO C4 size, 229 mm by 324 mm.
    `static MediaSize` | MediaSize.ISO.`C5` Specifies the ISO C5 size, 162 mm by 229 mm.
    `static MediaSize` | MediaSize.ISO.`C6` Specifies the ISO C6 size, 114 mm by 162 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_1` Specifies the JIS Chou ("long") #1 envelope size, 142 mm by 332 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_2` Specifies the JIS Chou ("long") #2 envelope size, 119 mm by 277 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_3` Specifies the JIS Chou ("long") #3 envelope size, 120 mm by 235 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_30` Specifies the JIS Chou ("long") #30 envelope size, 92 mm by 235 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_4` Specifies the JIS Chou ("long") #4 envelope size, 90 mm by 205 mm.
    `static MediaSize` | MediaSize.JIS.`CHOU_40` Specifies the JIS Chou ("long") #40 envelope size, 90 mm by 225 mm.
    `static MediaSize` | MediaSize.Engineering.`D` Specifies the engineering D size, 22 inch by 34 inch.
    `static MediaSize` | MediaSize.ISO.`DESIGNATED_LONG` Specifies the ISO Designated Long size, 110 mm by 220 mm.
    `static MediaSize` | MediaSize.Engineering.`E` Specifies the engineering E size, 34 inch by 44 inch.
    `static MediaSize` | MediaSize.Other.`EXECUTIVE` Specifies the executive size, 7.25 inches by 10.5 inches.
    `static MediaSize` | MediaSize.Other.`FOLIO` Specifies the folio size, 8.5 inches by 13 inches.
    `static MediaSize` | MediaSize.Other.`INVOICE` Specifies the invoice size, 5.5 inches by 8.5 inches.
    `static MediaSize` | MediaSize.Other.`ITALY_ENVELOPE` Specifies the Italy envelope size, 110 mm by 230 mm.
    `static MediaSize` | MediaSize.Other.`JAPANESE_DOUBLE_POSTCARD` Specifies the Japanese Double postcard size, 148 mm by 200 mm.
    `static MediaSize` | MediaSize.Other.`JAPANESE_POSTCARD` Specifies the Japanese postcard size, 100 mm by 148 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_0` Specifies the JIS Kaku ("square") #0 envelope size, 287 mm by 382 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_1` Specifies the JIS Kaku ("square") #1 envelope size, 270 mm by 382 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_2` Specifies the JIS Kaku ("square") #2 envelope size, 240 mm by 332 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_20` Specifies the JIS Kaku ("square") #20 envelope size, 229 mm by 324 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_3` Specifies the JIS Kaku ("square") #3 envelope size, 216 mm by 277 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_4` Specifies the JIS Kaku ("square") #4 envelope size, 197 mm by 267 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_5` Specifies the JIS Kaku ("square") #5 envelope size, 190 mm by 240 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_6` Specifies the JIS Kaku ("square") #6 envelope size, 162 mm by 229 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_7` Specifies the JIS Kaku ("square") #7 envelope size, 142 mm by 205 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_8` Specifies the JIS Kaku ("square") #8 envelope size, 119 mm by 197 mm.
    `static MediaSize` | MediaSize.JIS.`KAKU_A4` Specifies the JIS Kaku ("square") A4 envelope size, 228 mm by 312 mm.
    `static MediaSize` | MediaSize.Other.`LEDGER` Specifies the ledger size, 11 inches by 17 inches.
    `static MediaSize` | MediaSize.NA.`LEGAL` Specifies the North American legal size, 8.5 inches by 14 inches.
    `static MediaSize` | MediaSize.NA.`LETTER` Specifies the North American letter size, 8.5 inches by 11 inches.
    `static MediaSize` | MediaSize.Other.`MONARCH_ENVELOPE` Specifies the Monarch envelope size, 3.87 inch by 7.5 inch.
    `static MediaSize` | MediaSize.NA.`NA_10x13_ENVELOPE` Specifies the North American 10 inch by 13 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_10x14_ENVELOPE` Specifies the North American 10 inch by 14 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_10X15_ENVELOPE` Specifies the North American 10 inch by 15 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_5X7` Specifies the North American 5 inch by 7 inch paper.
    `static MediaSize` | MediaSize.NA.`NA_6X9_ENVELOPE` Specifies the North American 6 inch by 9 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_7X9_ENVELOPE` Specifies the North American 7 inch by 9 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_8X10` Specifies the North American 8 inch by 10 inch paper.
    `static MediaSize` | MediaSize.NA.`NA_9x11_ENVELOPE` Specifies the North American 9 inch by 11 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_9x12_ENVELOPE` Specifies the North American 9 inch by 12 inch envelope size.
    `static MediaSize` | MediaSize.NA.`NA_NUMBER_10_ENVELOPE` Specifies the North American Number 10 business envelope size, 4.125 inches by 9.5 inches.
    `static MediaSize` | MediaSize.NA.`NA_NUMBER_11_ENVELOPE` Specifies the North American Number 11 business envelope size, 4.5 inches by 10.375 inches.
    `static MediaSize` | MediaSize.NA.`NA_NUMBER_12_ENVELOPE` Specifies the North American Number 12 business envelope size, 4.75 inches by 11 inches.
    `static MediaSize` | MediaSize.NA.`NA_NUMBER_14_ENVELOPE` Specifies the North American Number 14 business envelope size, 5 inches by 11.5 inches.
    `static MediaSize` | MediaSize.NA.`NA_NUMBER_9_ENVELOPE` Specifies the North American Number 9 business envelope size, 3.875 inches by 8.875 inches.
    `static MediaSize` | MediaSize.Other.`PERSONAL_ENVELOPE` Specifies the Personal envelope size, 3.625 inch by 6.5 inch.
    `static MediaSize` | MediaSize.Other.`QUARTO` Specifies the quarto size, 8.5 inches by 10.83 inches.
    `static MediaSize` | MediaSize.Other.`TABLOID` Specifies the tabloid size, 11 inches by 17 inches.
    `static MediaSize` | MediaSize.JIS.`YOU_1` Specifies the JIS You ("Western") #1 envelope size, 120 mm by 176 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_2` Specifies the JIS You ("Western") #2 envelope size, 114 mm by 162 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_3` Specifies the JIS You ("Western") #3 envelope size, 98 mm by 148 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_4` Specifies the JIS You ("Western") #4 envelope size, 105 mm by 235 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_5` Specifies the JIS You ("Western") #5 envelope size, 95 mm by 217 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_6` Specifies the JIS You ("Western") #6 envelope size, 98 mm by 190 mm.
    `static MediaSize` | MediaSize.JIS.`YOU_7` Specifies the JIS You ("Western") #7 envelope size, 92 mm by 165 mm.

    Methods in javax.print.attribute.standard that return MediaSize
    Modifier and Type | Method and Description
    --- | ---
    `static MediaSize` | MediaSize.`getMediaSizeForName(MediaSizeName media)` Get the MediaSize for the specified named media.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.