NodeShape.Size Property
Gets or sets the size of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property Size As SizeD
'Usage
Dim instance As NodeShape
Dim value As SizeD
value = instance.Size
instance.Size = value
public SizeD Size { get; set; }
public:
property SizeD Size {
SizeD get ();
void set (SizeD value);
}
public function get Size () : SizeD
public function set Size (value : SizeD)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The size of the shape.
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.