Back to Devexpress

TdxCustomPreview.ZoomFactor Property

vcl-dxcustompreview-dot-tdxcustompreview-fddb0857.md

latest1.2 KB
Original Source

TdxCustomPreview.ZoomFactor Property

Specifies the zoom factor (as a percentage) applied to the displayed document.

Declaration

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

Property Value

TypeDefault
Integer100

Remarks

The lower and upper bounds of the ZoomFactor property values are specified by the MinZoomFactor and MaxZoomFactor properties, respectively.

If the ZoomMode property is set to pzmPageWidth or pzmPages , the ZoomFactor property value is recalculated automatically in response to resizing the document viewer.

In the case of the PDF Viewer control, use its OptionsZoom.ZoomFactor property instead.

The default value of the ZoomFactor property is 100.

See Also

TdxCustomPreview Class

TdxCustomPreview Members

dxCustomPreview Unit