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