Rotates the page by a multiple of ninety degrees.

 

   

Syntax
 

[C#]
void Rotate(int angle)

[Visual Basic]
Sub Rotate(angle As Integer)

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
angle The number of degrees clockwise by which to rotate the page.

 

   

Notes
 

Rotates the page by a multiple of ninety degrees.

By providing the Rotation property to this function you can derotate a page. The Rotation property and page bounding boxes (MediaBox, CropBox, BleedBox, TrimBox and ArtBox) will be adjusted to reflect the new viewing orientation.

If a value is provided which is not a multiple of ninety degrees, an exception will be raised.

 

   

Example
 

None.