Partager via


NodeShape.Size Property

Gets or sets the size of the shape.

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 Size As SizeD
public SizeD Size { get; set; }
public:
property SizeD Size {
    SizeD get ();
    void set (SizeD value);
}
member Size : SizeD with get, set
function get Size () : SizeD 
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace