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

DiagramOptionsView.FitToDrawingMargin Property

Gets or sets the margin between diagram contents and page bounds when calling the DiagramControl.FitToDrawing and DiagramControl.FitToItems methods.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v19.1.dll


[DefaultValue(typeof(Padding), "24,24,24,24")]
public virtual Padding FitToDrawingMargin { get; set; }

Property Value

Type Default Description


A Padding value that represents the margin between diagram contents and page bounds.

Property Paths

You can access this nested property as listed below:

Object Type Path to FitToDrawingMargin


The margin specified by the FitToDrawingMargin property cannot be less than the DiagramControl.PageMargin property value.

See Also