Package com.ironsoftware.ironpdf.page
Enum PageRotation
- java.lang.Object
- 
- java.lang.Enum<PageRotation>
- 
- com.ironsoftware.ironpdf.page.PageRotation
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<PageRotation>
 
 public enum PageRotation extends Enum<PageRotation> PageRotation setting of a PDF page
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CLOCKWISE_180Page is rotate 180 degrees clockwiseCLOCKWISE_270Page is rotated 270 degrees clockwiseCLOCKWISE_90Page is rotated 90 degrees clockwiseNONEPage is not rotated
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static PageRotationvalueOf(String name)Returns the enum constant of this type with the specified name.static PageRotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final PageRotation NONE Page is not rotated
 - 
CLOCKWISE_90public static final PageRotation CLOCKWISE_90 Page is rotated 90 degrees clockwise
 - 
CLOCKWISE_180public static final PageRotation CLOCKWISE_180 Page is rotate 180 degrees clockwise
 - 
CLOCKWISE_270public static final PageRotation CLOCKWISE_270 Page is rotated 270 degrees clockwise
 
- 
 - 
Method Detail- 
valuespublic static PageRotation[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PageRotation c : PageRotation.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PageRotation valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-