public enum PageScaling extends Enum<PageScaling>
| Enum Constant and Description |
|---|
FIT_TO_PRINTER_MARGINS
Pages are scaled up or down to fit the printer page size.
|
NONE
No scaling is done, any larger page area is clipped off during printing.
|
REDUCE_TO_PRINTER_MARGINS
Page content is scaled down to fit the printable area of the output medium.
|
| Modifier and Type | Method and Description |
|---|---|
static PageScaling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageScaling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageScaling NONE
public static final PageScaling FIT_TO_PRINTER_MARGINS
public static final PageScaling REDUCE_TO_PRINTER_MARGINS
public static PageScaling[] values()
for (PageScaling c : PageScaling.values()) System.out.println(c);
public static PageScaling valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null