Class Rotation
Represents a page rotation value in 90-degree increments.
public class Rotation
- Inheritance
-
Rotation
- Inherited Members
Fields
Degrees180
A 180-degree rotation.
public static readonly Rotation Degrees180
Field Value
Degrees270
A 270-degree clockwise rotation.
public static readonly Rotation Degrees270
Field Value
Degrees90
A 90-degree clockwise rotation.
public static readonly Rotation Degrees90
Field Value
None
No page rotation.
public static readonly Rotation None
Field Value
Properties
Value
Gets the rotation angle in degrees.
public int Value { get; }
Property Value
Methods
FromValue(int)
Creates a rotation from a raw degree value.
public static Rotation FromValue(int value)
Parameters
valueintThe rotation angle in degrees. Must be a multiple of 90.
Returns
Operators
operator +(Rotation, Rotation)
Combines two rotation values.
public static Rotation operator +(Rotation a, Rotation b)
Parameters
Returns
operator +(Number, Rotation)
Adds a numeric rotation value to a Rotation.
public static Rotation operator +(Number a, Rotation b)
Parameters
Returns
implicit operator Rotation(Number)
Converts a PDF numeric rotation value to a Rotation instance.
public static implicit operator Rotation(Number rotation)
Parameters
rotationNumber