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
'Declaração
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
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.