NodeShape.Location Property

Gets or sets the coordinates of the top-left corner of the shape's bounds.

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

Syntax

'宣言
Public Property Location As PointD
'使用
Dim instance As NodeShape
Dim value As PointD

value = instance.Location

instance.Location = value
public PointD Location { get; set; }
public:
property PointD Location {
    PointD get ();
    void set (PointD value);
}
public function get Location () : PointD
public function set Location (value : PointD)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

The coordinates of the top-left corner of the shape's bounds.

Remarks

This position of the shape's bounds is relative to the top-left corner of the shape's parent shape.

Permissions

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace