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

ASPxDiagram.AutoZoom Property

Specifies how the ASPxDiagram control automatically zooms the work area.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DiagramAutoZoomMode.Disabled)]
public DiagramAutoZoomMode AutoZoom { get; set; }

Property Value

Type Default Description
DiagramAutoZoomMode **Disabled**

The zoom mode.

Available values:

Name Description
Disabled

Auto-zoom is disabled.

FitContent

Changes the diagram’s content to fit the work area.

FitToWidth

The diagram width fits the work area.

Remarks

When the AutoZoom propety is set to FitContent or FitToWidth, the ASPxDiagram control automatically zooms the work area when the diagram’s layout changes.

See Also