Form::ScaleControl Method (SizeF, BoundsSpecified)
.NET Framework (current version)
Scales the location, size, padding, and margin of a control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- factor
-
Type:
System.Drawing::SizeF
The factor by which the height and width of the control are scaled.
- specified
-
Type:
System.Windows.Forms::BoundsSpecified
A BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.
.NET Framework
Available since 2.0
Available since 2.0
Show: