| Visual Basic (Declaration) | |
|---|---|
Public Property Size As SizeF | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As PlotArea Dim value As SizeF instance.Size = value value = instance.Size | |
| C# | |
|---|---|
public SizeF Size {get; set;} | |
| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Value's width or height is less than or equal to zero or greater than one. |
Size is measured in relative units ((0,0) = no size, (1,1) = size of control).
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8