DiagramControl.AlignCanvas(Nullable<HorzAlignment>, Nullable<VertAlignment>) Method
Applies the specified alignment to the canvas.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
Declaration
public void AlignCanvas(
HorzAlignment? horizontalAlignment = null,
VertAlignment? verticalAlignment = null
)
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
horizontalAlignment | Nullable<HorzAlignment> | null | A HorzAlignment enumeration value that is the horizontal alignment of the canvas. |
verticalAlignment | Nullable<VertAlignment> | null | A VertAlignment enumeration value that is the vertical alignment of the canvas. |
See Also