DocumentViewerBase.AutoZoom Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v20.2.dll

Declaration

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

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