Package com.ironsoftware.ironpdf.page
Enum PageRotation
- All Implemented Interfaces:
Serializable
,Comparable<PageRotation>
,java.lang.constant.Constable
PageRotation setting of a PDF page
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPage is rotate 180 degrees clockwisePage is rotated 270 degrees clockwisePage is rotated 90 degrees clockwisePage is not rotated -
Method Summary
Modifier and TypeMethodDescriptionstatic PageRotation
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 Details
-
NONE
Page is not rotated -
CLOCKWISE_90
Page is rotated 90 degrees clockwise -
CLOCKWISE_180
Page is rotate 180 degrees clockwise -
CLOCKWISE_270
Page is rotated 270 degrees clockwise
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-