ScaleControl Method
TOC
Collapse the table of content
Expand the table of content

Form.ScaleControl Method (SizeF, BoundsSpecified)

 
Use BaseTrue

Scales the location, size, padding, and margin of a control.

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

protected override void ScaleControl(
	SizeF factor,
	BoundsSpecified specified
)

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