New to Telerik UI for WinUI? Download free 30-day trial

Document Rotation

The PdfViewer control provides functionality for rotating the pages of the loaded document.

The document can be rotated using the buttons in the toolbar component.

To rotate the document in code, you can use the SetRotationAngle method of RadPdfViewer or the commands of RotateClockwiseCommandDescriptor and RotateCounterClockwiseCommandDescriptor.

Rotating the document using the SetRotationAngle method


Rotating the document using the command descriptor

The current rotation angle can be accessed with the RotationAngle property of RadPdfViewer.

Getting the rotating angle

RotationAngle angle = this.pdfViewer.RotationAngle; 

See Also

In this article
Not finding the help you need?