Rotation

Inheritance: java.lang.Object, java.lang.Enum < Rotation > com.aspose.pdf.Rotation, java.lang.Enum < Rotation >, com.aspose.pdf.Rotation

All Implemented Interfaces: Serializable, Comparable < Rotation >

public enum Rotation extends Enum < Rotation >

Enumeration of possible rotation values.

Fields

FieldDescription
NoneNon-rotated.
on180Rotated on 180 degrees.
on270Rotated on 270 degrees clockwise.
on360Rotated on 360 degrees clockwise.
on90Rotated on 90 degrees clockwise.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

None

public static final Rotation None

Non-rotated.

on180

public static final Rotation on180

Rotated on 180 degrees.

on270

public static final Rotation on270

Rotated on 270 degrees clockwise.

on360

public static final Rotation on360

Rotated on 360 degrees clockwise.

on90

public static final Rotation on90

Rotated on 90 degrees clockwise.

getByValue

public static Rotation getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static Rotation [] 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