PDFium Component Docs

PageHeightZoom property

Component: TPdfView  ·  Unit: PDFium
Read-only zoom factor that fits the page height neatly within the view

Syntax

property PageHeightZoom[PageNumber: Integer]: Double;

Description

Read-only zoom factor that fits the page height neatly within the view

Handy when wiring up a "Fit Page" toolbar button

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

Remarks

Example

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

See Also

Active, Pdf, Options, Zoom