PDFium Delphi Component Docs

PageWidthZoom プロパティ

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

構文

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

説明

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

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

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

備考

例

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

関連項目

Active, Pdf, Options, Zoom