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.v20.1.dll

Declaration

[DefaultValue(typeof(Padding), "24,24,24,24")]
public virtual Padding FitToDrawingMargin { get; set; }
<DefaultValue(GetType(Padding), "24,24,24,24")>
Public Overridable Property FitToDrawingMargin As Padding

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