RotatePage

ViewOptions.RotatePage method

Applies the clockwise rotation to a page.

public void RotatePage(int pageNumber, Rotation rotation)
Parameter Type Description
pageNumber Int32 The page number.
rotation Rotation The rotation value.

Exceptions

exception condition
ArgumentException Thrown when pageNumber is less or equal to zero.
ArgumentException Thrown when rotation for the page with number pageNumber was already added.

Remarks

For details, see the documentation.

See Also