PDFium Component Docs

PageWidthZoom property

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

Syntax

property PageWidthZoom[PageNumber: Integer]: Double;

Description

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

Useful for building a "Fit Width" toolbar button

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

Remarks

Example

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

See Also

Active, Pdf, Options, Zoom