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, must be strictly greater than 0 |
rotation | Rotation | The rotation value. |
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException | 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
- enum Rotation
- class ViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer