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.v18.2.dll

Declaration

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

Property Value

Type Default Description
Padding "24,24,24,24"

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
DiagramControl
.OptionsView.FitToDrawingMargin

Remarks

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

See Also