Share via


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

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace