DiagramControl.ScrollToPoint(PointFloat, Nullable<HorzAlignment>, Nullable<VertAlignment>) Method

Scrolls the diagram to the specified point.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public void ScrollToPoint(
    PointFloat diagramPoint,
    HorzAlignment? horizontalAlignment,
    VertAlignment? verticalAlignment
)
Public Sub ScrollToPoint(
    diagramPoint As PointFloat,
    horizontalAlignment As HorzAlignment?,
    verticalAlignment As VertAlignment?
)

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