vcl-dxpdfviewer-dot-tdxpdfcustomviewer-4def03d5.md
Specifies the rotation angle applied to the document view.
property RotationAngle: TcxRotationAngle read; write;
| Type |
|---|
| TcxRotationAngle |
Use this property to apply a rotation angle to the document view instead of sequentially rotating it clockwise or counterclockwise by calling the RotateClockwise or RotateCounterclockwise procedure, respectively. The available RotationAngle property values include:
| Value | Description | Example |
|---|---|---|
ra0 | No rotation is applied. The document is displayed as is. | |
raPlus90 | The document view is rotated left by 90 degrees from its initial position. | |
raMinus90 | The document view is rotated right by 90 degrees from its initial position. | |
ra180 | The document view is rotated by 180 degrees (that is, the document is displayed upside down). |
An end-user can rotate the document view by pressing the Ctrl+Shift+Plus Sign(+) and/or Ctrl+Shift+Minus Sign(-) key combination or clicking the Rotate Clockwise and/or Rotate Counterclockwise items in the PDF Viewer’s context menu:
You can provide additional document view rotation options to an end-user by linking the RotateClockwise and RotateCounterclockwise commands to elements of your UI.
See Also