Back to Devexpress

TdxPDFCustomViewer.RotationAngle Property

vcl-dxpdfviewer-dot-tdxpdfcustomviewer-4def03d5.md

latest2.6 KB
Original Source

TdxPDFCustomViewer.RotationAngle Property

Specifies the rotation angle applied to the document view.

Declaration

delphi
property RotationAngle: TcxRotationAngle read; write;

Property Value

Type
TcxRotationAngle

Remarks

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:

ValueDescriptionExample
ra0No rotation is applied. The document is displayed as is.
raPlus90The document view is rotated left by 90 degrees from its initial position.
raMinus90The document view is rotated right by 90 degrees from its initial position.
ra180The 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

TdxPDFCustomViewer Class

TdxPDFCustomViewer Members

dxPDFViewer Unit