Back to Devexpress

DiagramOptionsView.FitToDrawingMargin Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsview-f6690e5f.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Diagram

Declaration

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

Property Value

TypeDefaultDescription
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 TypePath to FitToDrawingMargin
DiagramControl

.OptionsView .FitToDrawingMargin

|

Remarks

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

See Also

FitToDrawing()

FitToItems(IEnumerable<DiagramItem>)

DiagramOptionsView Class

DiagramOptionsView Members

DevExpress.XtraDiagram.Options Namespace