DocumentViewerBase.Zoom Property

Specifies the current zoom factor of a document page in the DocumentViewer.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v20.2.dll

Declaration

[DXCategory("Printing")]
[DefaultValue(1F)]
public float Zoom { get; set; }
<DXCategory("Printing")>
<DefaultValue(1F)>
Public Property Zoom As Single

Property Value

Type Default Description
Single

1

A Single value, specifying the current zoom factor of a document page.

Remarks

This property determines the current zoom factor of a document. The smaller the value of the Zoom property, the more document pages can fit into a Document Viewer. Zoom buttons on the Document Preview toolbar can also determine the Zoom property value.

The Zoom property value will not exceed that of the DocumentViewerBase.MinZoom and DocumentViewerBase.MaxZoom properties.

After the DocumentViewerBase.Zoom property has changed, the DocumentViewerBase.ZoomChanged event occurs.

See Also