Skip to main content

DocumentViewerBase.AutoZoom Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v22.1.dll


public bool AutoZoom { get; set; }

Property Value

Type Default Description
Boolean false

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


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