Back to Devexpress

DocumentViewerBase.Zoom Property

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-d747ab90.md

latest2.2 KB
Original Source

DocumentViewerBase.Zoom Property

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

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
Single1

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

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace