property PageWidthZoom[PageNumber: Integer]: Double; // read only
Read-only zoom factor that fits the page width neatly within the view
Useful for a "Fit Width" 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
PageNumberOnResize if custom zoom logic should track control size changes
begin
PdfView1.Active := True;
PdfView1.Zoom := PdfView1.PageWidthZoom[1];
end;