ViewOptionsRotatePage Method
Applies clockwise rotation to the page.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.10
Syntax
public void RotatePage(
	int pageNumber,
	Rotation rotation
)

Parameters

pageNumber
Type: SystemInt32
The page number.
rotation
Type: GroupDocs.Viewer.OptionsRotation
The rotation value.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when pageNumber is less or equal to zero.
ArgumentExceptionThrown when rotation for the page with number pageNumber was already added.
See Also