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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Property Location As PointD
Get
Set
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
- 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.