PDFium Delphi Component Docs

PageRotation 屬性

元件: TPdfView  ·  單元: PDFium
TPdfView 包裝器,會將呼叫轉送至 TPdf.PageRotation

語法

property PageRotation: TRotation;

說明

對應於 TPdf.PageRotation。TPdfView 元件會將呼叫轉送至其底層的 Pdf 實體,並在呼叫變更文件時重新整理檢視

來自 TPdf.PageRotation 的所有語意說明在此完全相同;唯一的差別在於您是透過視覺控制項而非模型物件來執行此操作

當 TPdfView 繫結至外部 TPdf(設定 PdfView1.Pdf := Pdf1)時,讀取這個成員會傳回與 Pdf1.PageRotation 相同的資料,不必另外存取模型元件

備註

範例

if PdfView1.Active then
  Memo1.Lines.Add('PageRotation = ' + IntToStr(Ord(PdfView1.PageRotation)));

另請參閱

PageRotation, Pdf