ViewRotation

查看器交互

描述

以度表示的视图旋转,为顺时针 0、90、180 或 270 之一;赋予其他值会按 360 取模规范化并向下截断到最近的 90 的倍数

旋转是视图属性:它不修改文档,变化时重渲染打开的页面,打开新文档时重置为 0

语法

Delphi

Property ViewRotation: Integer Read FViewRotation Write SetViewRotation;

另请参阅

RotateClockwise90, RotateAntiClockwise90, PageRectToClientRect, TPDFlibViewer