PDFium Delphi Component Docs

PageMode プロパティ

コンポーネント: TPdf  ·  ユニット: PDFium
page-level property で、文書の /PageMode hint (Outlines, Thumbs, FullScreen, ...) を返します

Syntax

property PageMode: TPageMode;

Description

ドキュメントの /PageMode hint(Outlines、Thumbs、FullScreen など)を返します。値は PDF のページ辞書から取得され、親ノードから継承された /MediaBox / /CropBox / /Rotate がすべて解決された後のものです

書き込み手続きを示唆する名前のプロパティ(Page、PageRotation など)でない限り読み取り専用です。読み取り専用プロパティへの代入は効果がありません

座標と寸法は PDF user-space のポイントで報告されます。ターゲット DPI 向けのピクセルへの変換には PointsToPixels(Value, DPI) か同等のヘルパーを使います

Remarks

Example

if Pdf1.Active then
  Memo1.Lines.Add('PageMode = ' + VarToStr(Pdf1.PageMode));

See Also

ViewerPreference, PageLabel