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

NuGet Package: DevExpress.Win.Diagram

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public void AlignPage(
    HorzAlignment? horizontalAlignment = null,
    VertAlignment? verticalAlignment = null
)

Optional Parameters

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

A HorzAlignment enumeration value.

verticalAlignment Nullable<VertAlignment> *null*

A VertAlignment enumeration value.

See Also