Condividi tramite


DiagramClientView.ScrollTo(PointD) Method

Definition

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.

public:
 void ScrollTo(Microsoft::VisualStudio::Modeling::Diagrams::PointD point);
public void ScrollTo (Microsoft.VisualStudio.Modeling.Diagrams.PointD point);
member this.ScrollTo : Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Sub ScrollTo (point As PointD)

Parameters

point
PointD

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

Applies to