# Uses of Class
java.awt.PageAttributes.MediaType

Packages that use PageAttributes.MediaType
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.

- ## Uses of PageAttributes.MediaType in java.awt

  Fields in java.awt declared as PageAttributes.MediaType
  Modifier and Type
  Field
  Description
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A`
  The MediaType instance for Engineering A, 8 1/2 x 11 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A0`
  An alias for ISO_A0.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A1`
  An alias for ISO_A1.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A10`
  An alias for ISO_A10.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A2`
  An alias for ISO_A2.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A3`
  An alias for ISO_A3.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A4`
  An alias for ISO_A4.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A5`
  An alias for ISO_A5.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A6`
  An alias for ISO_A6.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A7`
  An alias for ISO_A7.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A8`
  An alias for ISO_A8.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`A9`
  An alias for ISO_A9.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B`
  The MediaType instance for Engineering B, 11 x 17 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B0`
  An alias for ISO_B0.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B1`
  An alias for ISO_B1.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B10`
  An alias for ISO_B10.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B2`
  An alias for ISO_B2.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B3`
  An alias for ISO_B3.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B4`
  An alias for ISO_B4.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B5`
  An alias for ISO_B5.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B6`
  An alias for ISO_B6.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B7`
  An alias for ISO_B7.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B8`
  An alias for ISO_B8.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`B9`
  An alias for ISO_B9.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C`
  The MediaType instance for Engineering C, 17 x 22 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C0`
  An alias for ISO_C0.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C1`
  An alias for ISO_C1.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C10`
  An alias for ISO_C10.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C2`
  An alias for ISO_C2.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C3`
  An alias for ISO_C3.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C4`
  An alias for ISO_C4.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C5`
  An alias for ISO_C5.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C6`
  An alias for ISO_C6.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C7`
  An alias for ISO_C7.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C8`
  An alias for ISO_C8.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`C9`
  An alias for ISO_C9.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`D`
  The MediaType instance for Engineering D, 22 x 34 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`E`
  The MediaType instance for Engineering E, 34 x 44 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_10`
  An alias for NA_NUMBER_10_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_10X13`
  An alias for NA_10X13_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_10X14`
  An alias for NA_10X14_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_10X15`
  An alias for NA_10X15_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_11`
  An alias for NA_NUMBER_11_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_12`
  An alias for NA_NUMBER_12_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_14`
  An alias for NA_NUMBER_14_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_6X9`
  An alias for NA_6X9_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_7X9`
  An alias for NA_7X9_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_9`
  An alias for NA_NUMBER_9_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_9X11`
  An alias for NA_9X11_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_9X12`
  An alias for NA_9X12_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_INVITE`
  An alias for INVITE_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_ITALY`
  An alias for ITALY_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_MONARCH`
  An alias for MONARCH_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ENV_PERSONAL`
  An alias for PERSONAL_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`EXECUTIVE`
  The MediaType instance for Executive, 7 1/4 x 10 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`FOLIO`
  The MediaType instance for Folio, 8 1/2 x 13 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`INVITE`
  An alias for INVITE_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`INVITE_ENVELOPE`
  The MediaType instance for Invitation Envelope, 220 x 220 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`INVOICE`
  The MediaType instance for Invoice, 5 1/2 x 8 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_2A0`
  The MediaType instance for ISO/DIN and JIS 2A0, 1189 x 1682 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_4A0`
  The MediaType instance for ISO/DIN and JIS 4A0, 1682 x 2378 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A0`
  The MediaType instance for ISO/DIN and JIS A0, 841 x 1189 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A1`
  The MediaType instance for ISO/DIN and JIS A1, 594 x 841 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A10`
  The MediaType instance for ISO/DIN and JIS A10, 26 x 37 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A2`
  The MediaType instance for ISO/DIN and JIS A2, 420 x 594 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A3`
  The MediaType instance for ISO/DIN and JIS A3, 297 x 420 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A4`
  The MediaType instance for ISO/DIN and JIS A4, 210 x 297 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A5`
  The MediaType instance for ISO/DIN and JIS A5, 148 x 210 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A6`
  The MediaType instance for ISO/DIN and JIS A6, 105 x 148 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A7`
  The MediaType instance for ISO/DIN and JIS A7, 74 x 105 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A8`
  The MediaType instance for ISO/DIN and JIS A8, 52 x 74 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_A9`
  The MediaType instance for ISO/DIN and JIS A9, 37 x 52 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B0`
  The MediaType instance for ISO/DIN B0, 1000 x 1414 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B1`
  The MediaType instance for ISO/DIN B1, 707 x 1000 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B10`
  The MediaType instance for ISO/DIN B10, 31 x 44 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B2`
  The MediaType instance for ISO/DIN B2, 500 x 707 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B3`
  The MediaType instance for ISO/DIN B3, 353 x 500 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B4`
  The MediaType instance for ISO/DIN B4, 250 x 353 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B4_ENVELOPE`
  An alias for ISO_B4.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B5`
  The MediaType instance for ISO/DIN B5, 176 x 250 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B5_ENVELOPE`
  An alias for ISO_B5.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B6`
  The MediaType instance for ISO/DIN B6, 125 x 176 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B7`
  The MediaType instance for ISO/DIN B7, 88 x 125 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B8`
  The MediaType instance for ISO/DIN B8, 62 x 88 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_B9`
  The MediaType instance for ISO/DIN B9, 44 x 62 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C0`
  The MediaType instance for ISO/DIN C0, 917 x 1297 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C0_ENVELOPE`
  An alias for ISO_C0.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C1`
  The MediaType instance for ISO/DIN C1, 648 x 917 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C1_ENVELOPE`
  An alias for ISO_C1.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C10`
  The MediaType instance for ISO/DIN C10, 28 x 40 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C10_ENVELOPE`
  An alias for ISO_C10.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C2`
  The MediaType instance for ISO/DIN C2, 458 x 648 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C2_ENVELOPE`
  An alias for ISO_C2.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C3`
  The MediaType instance for ISO/DIN C3, 324 x 458 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C3_ENVELOPE`
  An alias for ISO_C3.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C4`
  The MediaType instance for ISO/DIN C4, 229 x 324 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C4_ENVELOPE`
  An alias for ISO_C4.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C5`
  The MediaType instance for ISO/DIN C5, 162 x 229 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C5_ENVELOPE`
  An alias for ISO_C5.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C6`
  The MediaType instance for ISO/DIN C6, 114 x 162 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C6_ENVELOPE`
  An alias for ISO_C6.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C7`
  The MediaType instance for ISO/DIN C7, 81 x 114 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C7_ENVELOPE`
  An alias for ISO_C7.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C8`
  The MediaType instance for ISO/DIN C8, 57 x 81 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C8_ENVELOPE`
  An alias for ISO_C8.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C9`
  The MediaType instance for ISO/DIN C9, 40 x 57 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_C9_ENVELOPE`
  An alias for ISO_C9.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_DESIGNATED_LONG`
  The MediaType instance for ISO Designated Long, 110 x 220 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ISO_DESIGNATED_LONG_ENVELOPE`
  An alias for ISO_DESIGNATED_LONG.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ITALY`
  An alias for ITALY_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`ITALY_ENVELOPE`
  The MediaType instance for Italy Envelope, 110 x 230 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B0`
  The MediaType instance for JIS B0, 1030 x 1456 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B1`
  The MediaType instance for JIS B1, 728 x 1030 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B10`
  The MediaType instance for JIS B10, 32 x 45 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B2`
  The MediaType instance for JIS B2, 515 x 728 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B3`
  The MediaType instance for JIS B3, 364 x 515 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B4`
  The MediaType instance for JIS B4, 257 x 364 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B5`
  The MediaType instance for JIS B5, 182 x 257 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B6`
  The MediaType instance for JIS B6, 128 x 182 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B7`
  The MediaType instance for JIS B7, 91 x 128 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B8`
  The MediaType instance for JIS B8, 64 x 91 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`JIS_B9`
  The MediaType instance for JIS B9, 45 x 64 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`LEDGER`
  The MediaType instance for Ledger, 11 x 17 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`LEGAL`
  An alias for NA_LEGAL.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`LETTER`
  An alias for NA_LETTER.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`MONARCH`
  An alias for MONARCH_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`MONARCH_ENVELOPE`
  The MediaType instance for Monarch Envelope, 3 7/8 x 7 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_10X13_ENVELOPE`
  The MediaType instance for North American 10 x 13 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_10X14_ENVELOPE`
  The MediaType instance for North American 10 x 14 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_10X15_ENVELOPE`
  The MediaType instance for North American 10 x 15 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_6X9_ENVELOPE`
  The MediaType instance for North American 6 x 9 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_7X9_ENVELOPE`
  The MediaType instance for North American 7 x 9 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_9X11_ENVELOPE`
  The MediaType instance for North American 9 x 11 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_9X12_ENVELOPE`
  The MediaType instance for North American 9 x 12 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_LEGAL`
  The MediaType instance for North American Legal, 8 1/2 x 14 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_LETTER`
  The MediaType instance for North American Letter, 8 1/2 x 11 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_NUMBER_10_ENVELOPE`
  The MediaType instance for North American #10 Business Envelope, 4 1/8 x 9 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_NUMBER_11_ENVELOPE`
  The MediaType instance for North American #11 Business Envelope, 4 1/2 x 10 3/8 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_NUMBER_12_ENVELOPE`
  The MediaType instance for North American #12 Business Envelope, 4 3/4 x 11 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_NUMBER_14_ENVELOPE`
  The MediaType instance for North American #14 Business Envelope, 5 x 11 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NA_NUMBER_9_ENVELOPE`
  The MediaType instance for North American #9 Business Envelope, 3 7/8 x 8 7/8 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`NOTE`
  An alias for NA_LETTER.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`PERSONAL`
  An alias for PERSONAL_ENVELOPE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`PERSONAL_ENVELOPE`
  The MediaType instance for 6 3/4 envelope, 3 5/8 x 6 1/2 in.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`QUARTO`
  The MediaType instance for Quarto, 215 x 275 mm.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`STATEMENT`
  An alias for INVOICE.
  `static final PageAttributes.MediaType`
  PageAttributes.MediaType.`TABLOID`
  An alias for LEDGER.
  Methods in java.awt that return PageAttributes.MediaType
  Modifier and Type
  Method
  Description
  `PageAttributes.MediaType`
  PageAttributes.`getMedia()`
  Returns the paper size for pages using these attributes.
  Methods in java.awt with parameters of type PageAttributes.MediaType
  Modifier and Type
  Method
  Description
  `void`
  PageAttributes.`setMedia(PageAttributes.MediaType media)`
  Specifies the desired paper size for pages using these attributes.
  Constructors in java.awt with parameters of type PageAttributes.MediaType
  Modifier
  Constructor
  Description
  ``
  `PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)`
  Constructs a PageAttributes instance with the specified values for every attribute.