Skip to main content
A newer version of this page is available. .

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

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v18.2.dll

Declaration

public void AlignPage(
    HorzAlignment? horizontalAlignment = default(HorzAlignment? ),
    VertAlignment? verticalAlignment = default(VertAlignment? )
)

Optional Parameters

Name Type Default Description
horizontalAlignment Nullable<HorzAlignment> *null*

A HorzAlignment enumeration value.

verticalAlignment Nullable<VertAlignment> *null*

A VertAlignment enumeration value.

See Also