Skip to main content

TdxPDFViewerOptionsZoom.ZoomFactor Property

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

Declaration

property ZoomFactor: Integer read; write; default dxPDFViewerDefaultZoomFactor;

Property Value

Type Default
Integer dxPDFViewerDefaultZoomFactor

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