Version

Size Property (Shape)

Returns or sets the size at which the shape is rendered.
Syntax
'Declaration
 
Public Property Size As Nullable(Of SizeF)
public Nullable<SizeF> Size {get; set;}
Remarks

In the absence of an explicit setting, this property returns null. In this case, shapes are displayed at a size of one inch square.

When set explicitly, the unit of measurement used to express the property value is defined by the Unit property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also