All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.AutoZoom Property

Specifies how the ASPxDiagram control automatically zooms the work area.

Namespace: DevExpress.Web.ASPxDiagram

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

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. The maximum scale is 100%.

FitToWidth

The diagram width fits the work area. The maximum scale is 100%.

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