Share via


NodeShape.Location Property

Gets or sets the coordinates of the top-left corner of the shape's bounds relative to its ParentShape.

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

Syntax

'Declaration
Public Property Location As PointD
'Usage
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

Remarks

The coordinate system is in world units and increases down and to the right.

.NET Framework Security

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace