Skip to main content

DocumentViewerBase.Zoom Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(1F)]
[DXCategory("Printing")]
public float Zoom { get; set; }

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