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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Property Location As PointD
public PointD Location { get; set; }
public:
property PointD Location {
    PointD get ();
    void set (PointD value);
}
member Location : PointD with get, set
function get Location () : PointD 
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace