System.Windows.Forms.GroupBox.ScaleControl Method

Scales the System.Windows.Forms.GroupBox by the specified factor and scaling instruction.

Syntax

protected override void ScaleControl (System.Drawing.SizeF factor, BoundsSpecified specified)

Parameters

factor
The System.Drawing.SizeF that indicates the height and width of the scaled control.
specified
One of the System.Windows.Forms.BoundsSpecified values that indicates how the control should be scaled.

Remarks

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.

Requirements

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