DiagramSettings.AutoZoom Property

Specifies how the Diagram extension automatically zooms the work area.

Namespace: DevExpress.Web.Mvc

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

Declaration

public DiagramAutoZoomMode AutoZoom { get; set; }
Public Property AutoZoom As DiagramAutoZoomMode

Property Value

Type Description
DiagramAutoZoomMode

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 Diagram extension automatically zooms the work area when the diagram's layout changes.

See Also