Contents

rotation

Sets the rotation angle for the page in degrees.

Declaration

var rotation: Int { get set }

Discussion

The rotation must be a positive or negative multiple of 90 (negative angles are converted to their positive equivalents; for example, -90 is changed to 270); otherwise this method throws an exception.

See Also

Getting Information About a Page