Partager via


DiagramClientView.ScrollTo Method

Scrolls such that the specified point of the diagram becomes the top-left point of the view. The point is in world units relative to the top-left of the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Sub ScrollTo ( _
    point As PointD _
)
public void ScrollTo(
    PointD point
)
public:
void ScrollTo(
    PointD point
)
member ScrollTo : 
        point:PointD -> unit 
public function ScrollTo(
    point : PointD
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace