PDFiumVCL 文件

Zoom property

此 API 條目保留識別符號、簽名、程式碼塊和 PDF 術語的原始形式。
Component: TPdfView  ·  Unit: PDFium
Zoom factor where 1.0 = 100% (one PDF point = 1 screen pixel at 72 DPI).

Syntax

property Zoom: Double;

Description

Zoom factor where 1.0 = 100% (one PDF point = 1 screen pixel at 72 DPI).

Assigning a value implicitly switches FitMode to pfmNone.

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.Zoom := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options