PDFiumVCL 文件

PageZoom property

此 API 條目保留識別符號、簽名、程式碼塊和 PDF 術語的原始形式。
Component: TPdfView  ·  Unit: PDFium
Read-only zoom required to fit the current page into the view at the current DisplayMode.

Syntax

property PageZoom: Double;

Description

Read-only zoom required to fit the current page into the view at the current DisplayMode.

Combine with PageWidthZoom / PageHeightZoom / ActualSizeZoom to build custom fit buttons.

All TPdfView display properties trigger a repaint when assigned; you can change several in sequence without flicker because the redraw is coalesced into a single invalidation.

Remarks

Example

begin
  PdfView1.PageZoom := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options, Zoom