public enum PageSize extends Enum<PageSize>
Enum Constant and Description |
---|
A2
Represents the A2 page size.
|
A3
Represents the A3 page size.
|
A4
Represents the A4 page size.
|
A5
Represents the A5 page size.
|
Custom
A custom page size that defines height and width.
|
DetermineAutomatically
Determine page size and width from the input document
|
Envelope
Represents the Envelope page size.
|
Executive
Represents the Executive page size.
|
Folio
Represents the Folio page size.
|
Legal
Represents the Legal page size.
|
Letter
Represents the Letter page size.
|
Tabloid
Represents the Tabloid page size.
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc()
Retrives the description.
|
String |
getHeight()
Returns the height.
|
String |
getWidth()
Returns the width
|
String |
toString()
Returns a representation of this enum value.
|
static PageSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageSize A2
public static final PageSize A3
public static final PageSize A4
public static final PageSize A5
public static final PageSize Envelope
public static final PageSize Executive
public static final PageSize Folio
public static final PageSize Legal
public static final PageSize Letter
public static final PageSize Tabloid
public static final PageSize DetermineAutomatically
public static final PageSize Custom
public static PageSize[] values()
for (PageSize c : PageSize.values()) System.out.println(c);
public static PageSize 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 nullpublic String getDesc()
public String getHeight()
public String getWidth()
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.