Search
DiagramView.ScrollTo Method (Single, Single)
See Also
 





Scrolls the document to the specified point.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public void ScrollTo (
    float x,
    float y
)

Visual Basic  Copy Code

Public Sub ScrollTo( _
    x As Single, _
    y As Single _
)

 Parameters

x
The point on the x-axis of the document, to which it should be scrolled to, in the current units of measure.
y
The point on the y-axis of the document, to which it should be scrolled to, in the current units of measure.

 Remarks

Call the method to move the scroll bar and the current view of the document to a new position, as set by the method's parameters.

 See Also