PDFium Delphi Component Docs

PageHeightZoom プロパティ

コンポーネント: TPdfView  ·  ユニット: PDFium
page height が view に収まる read-only zoom factor です

構文

property PageHeightZoom[PageNumber: Integer]: Double; // read only

説明

ページの高さをビューに収める read-only zoom factor です

「Fit Page」ツールバーボタンを作るときに役立ちます

1 始まりの PageNumber(範囲は 1 .. PageCount)を渡し、戻されたズーム係数を PdfView1.Zoom に代入して適用します

備考

例

begin
  PdfView1.Active := True;
  PdfView1.Zoom := PdfView1.PageHeightZoom[1];
end;

関連項目

Active, Pdf, Options, Zoom