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.ScrollToPoint(PointFloat, Nullable<HorzAlignment>, Nullable<VertAlignment>) Method

Scrolls the diagram to the specified point.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public void ScrollToPoint(
    PointFloat diagramPoint,
    HorzAlignment? horizontalAlignment = HorzAlignment.Center,
    VertAlignment? verticalAlignment = VertAlignment.Center
)

#Parameters

Name Type Description
diagramPoint PointFloat

A PointFloat object that represents the point to which to scroll the document.

#Optional Parameters

Name Type Default Description
horizontalAlignment Nullable<HorzAlignment> 2

A HorzAlignment enumeration value that specifies how to align the point relative to the viewport. By default, Center.

verticalAlignment Nullable<VertAlignment> 2

A VertAlignment enumeration value that specifies how to align the point relative to the viewport. By default, Center.

See Also