Skip to main content

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

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.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