DiagramControl.AlignCanvas(Nullable<HorzAlignment>, Nullable<VertAlignment>) Method

Applies the specified alignment to the canvas.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public void AlignCanvas(
    HorzAlignment? horizontalAlignment = default(HorzAlignment? ),
    VertAlignment? verticalAlignment = default(VertAlignment? )
)
Public Sub AlignCanvas(
    horizontalAlignment As HorzAlignment? = Nothing,
    verticalAlignment As VertAlignment? = Nothing
)

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