Back to Devexpress

DocumentViewerBase.AutoZoom Property

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-50d0fc8d.md

latest2.1 KB
Original Source

DocumentViewerBase.AutoZoom Property

Specifies whether or not the auto-zoom mode is enabled for the print preview.

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Printing")]
public bool AutoZoom { get; set; }
vb
<DXCategory("Printing")>
<DefaultValue(False)>
Public Property AutoZoom As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the auto-zoom mode is enabled; otherwise, false.

|

Remarks

If the DocumentViewer control is in auto-zoom mode and a report page is selected, the default cursor is replaced with the magnifier tool ( ). When the magnifier is activated, the mouse cursor resembles a magnifying glass, and clicking a preview page increases its zoom factor.

There are two possible values for the magnification level:

  • The first magnification value is always fixed and is equal to 100 %.
  • The other value is calculated so that the entire preview page is visible without having to scroll it.

See Also

Magnifier

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace