PDFium Component Docs

PageMode プロパティ

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
コンポーネント: TPdf  ·  ユニット: PDFium
page-level property で、文書の /PageMode hint (Outlines, Thumbs, FullScreen, ...) を返します

構文

property PageMode: TPageMode;

説明

文書の /PageMode hint (Outlines, Thumbs, FullScreen, ...) を返します。値は PDF の page dictionary から取り、親 node から継承された /MediaBox, /CropBox, /Rotate を解決した後のものです

PagePageRotationのように writer を示すプロパティ名でない限り読み取り専用です。読み取り専用プロパティへ代入しても効果はありません

座標と寸法は PDF user space の point で報告されます。対象 DPI の pixel に変換するには PointsToPixels(Value, DPI) か同等の helper を使ってください

備考

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

関連項目

ViewerPreference, PageLabel