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

Scrolls the viewport according to the specified horizontal and vertical alignment.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

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

Optional Parameters

Name Type Default Description
horizontalAlignment Nullable<HorzAlignment>

null

A HorzAlignment enumeration value.

verticalAlignment Nullable<VertAlignment>

null

A VertAlignment enumeration value.

See Also