Skip to main content
A newer version of this page is available. .

DocumentViewerBase.AutoZoom Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v21.2.dll

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

Declaration

[DefaultValue(false)]
[DXCategory("Printing")]
public bool AutoZoom { get; set; }

Property Value

Type Default Description
Boolean false

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 (PrintControl.AutoZoom). 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