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)

override ScaleControl : 
        factor:SizeF *
        specified:BoundsSpecified -> unit

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: