Version

Size Property (SizeableContent)

Returns or sets the size at which the shape or picture 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, and pictures are displayed at their natural size.

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 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