Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.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