GroupBox::ScaleControl Method (SizeF, BoundsSpecified)
.NET Framework (current version)
Scales the GroupBox by the specified factor and scaling instruction.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- factor
-
Type:
System.Drawing::SizeF
The SizeF that indicates the height and width of the scaled control.
- specified
-
Type:
System.Windows.Forms::BoundsSpecified
One of the BoundsSpecified values that indicates how the control should be scaled.
If the control is top level, this method will not scale the control's location. This method does not scale children or the size of automatically sized controls. You can omit scaling in any direction by changing the value of the specified parameter.
.NET Framework
Available since 2.0
Available since 2.0
Show: