DiagramSettings.AutoZoom Property
In This Article
Specifies how the Diagram extension automatically zooms the work area.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public DiagramAutoZoomMode AutoZoom { get; set; }
#Property Value
Type | Description |
---|---|
Diagram |
The zoom mode. |
Available values:
Name | Description |
---|---|
Disabled | Auto-zoom is disabled. |
Fit |
Changes the diagram’s content to fit the work area. The maximum scale is 100%. |
Fit |
The diagram width fits the work area. The maximum scale is 100%. |
#Remarks
When the AutoZoom propety is set to FitContent or FitToWidth, the Diagram extension automatically zooms the work area when the diagram’s layout changes.
See Also