Skip to main content

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

NuGet Package: DevExpress.Win.Diagram

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