PDFium Delphi Component Docs

PageHeightZoom property

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

Syntax

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

Description

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

Useful for a "Fit Height" toolbar button

Pass a 1-based PageNumber in the range 1 .. PageCount, then assign the returned zoom factor to PdfView1.Zoom to put it into effect

Remarks

Example

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

See Also

Active, Pdf, Options, Zoom