public class PageSize
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PageSize |
A3
ISO A3 media: 297mm wide and 420mm high
|
static PageSize |
A4
IS0 A4 media: 210 mm wide and 297 mm high
|
static PageSize |
A5
ISO A5 media: 148mm wide and 210 mm high
|
static PageSize |
B3
ISO B3 media: 176mm wide by 250mm high
|
static PageSize |
B4
ISO B4 media: 250mm wide by 353mm high
|
static PageSize |
LEDGER
North American ledger: 11 inches wide by 17 inches high
|
static PageSize |
LEGAL
North American legal: 8.5 inches wide by 14 inches high
|
static PageSize |
LETTER
North American letter media: 8.5 inches wide and 11 inches high
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.css.CSSPrimitiveValue |
getPageHeight() |
org.w3c.dom.css.CSSPrimitiveValue |
getPageWidth() |
static PageSize |
resolvePageSize(java.lang.String pageSize) |
public static final PageSize A5
public static final PageSize A4
public static final PageSize A3
public static final PageSize B3
public static final PageSize B4
public static final PageSize LETTER
public static final PageSize LEGAL
public static final PageSize LEDGER
public org.w3c.dom.css.CSSPrimitiveValue getPageHeight()
public org.w3c.dom.css.CSSPrimitiveValue getPageWidth()
public static PageSize resolvePageSize(java.lang.String pageSize)