Rotation

Overview

Rotation is a enum in Aspose.PDF FOSS for Java.

Rotation angle enumeration for PDF pages (ISO 32000-1:2008, §7.7.3.3).

This enum provides 2 methods for working with Rotation objects in Java programs. Available methods include: fromDegrees, getDegrees. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: degrees.

Values

ValueDescription
None
on90
on180
on270

Properties

NameTypeAccessDescription
degreesintReadReturns the rotation angle in degrees.

Methods

SignatureDescription
getDegrees()intReturns the rotation angle in degrees.
fromDegrees(degrees: int)RotationReturns the Rotation for the given degree value, or None if not matched.

See Also

 English