GroupBox::ScaleControl Method (SizeF, BoundsSpecified)

 

Scales the GroupBox by the specified factor and scaling instruction.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void ScaleControl(
	SizeF factor,
	BoundsSpecified specified
) override

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
Return to top
Show: