Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentViewerBase.AutoZoom Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, 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