Back to Devexpress

TdxPDFViewerOptionsZoom.ZoomFactor Property

vcl-dxpdfviewer-dot-tdxpdfvieweroptionszoom-0e3f0b49.md

latest1.7 KB
Original Source

TdxPDFViewerOptionsZoom.ZoomFactor Property

Specifies the zoom factor value (as a percentage) the PDF Viewer control uses to display the loaded document.

Declaration

delphi
property ZoomFactor: Integer read; write; default dxPDFViewerDefaultZoomFactor;

Property Value

TypeDefault
IntegerdxPDFViewerDefaultZoomFactor

Remarks

You can use this property to zoom the loaded PDF document in or out by assigning a specific zoom factor value. A newly assigned ZoomFactor property value is automatically clamped within the range between the MinZoomFactor and MaxZoomFactor property values, inclusive.

If the ZoomMode property is set to pzmPageWidth or pzmPages , the ZoomFactor property value is recalculated automatically in response to resizing the PDF Viewer control.

The default ZoomFactor property value is dxPDFViewerDefaultZoomFactor.

See Also

TdxPDFViewerZoomActualSize

TdxPDFViewerZoomIn

TdxPDFViewerZoomOut

TdxPDFViewerOptionsZoom Class

TdxPDFViewerOptionsZoom Members

dxPDFViewer Unit