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
- 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.