ViewRotation

Viewer interaction

Description

View rotation in degrees, one of 0, 90, 180 or 270 clockwise; other assigned values are normalised modulo 360 and truncated to the nearest lower multiple of 90

Rotation is a view attribute: it does not modify the document, it re-renders the open page when it changes, and it resets to 0 when a new document is opened

Syntax

Delphi

Property ViewRotation: Integer Read FViewRotation Write SetViewRotation;

See also

RotateClockwise90, RotateAntiClockwise90, PageRectToClientRect, TPDFlibViewer