Version

ScaleControl(SizeF,BoundsSpecified) Method

Scales a control's location, size, padding and margin.
Syntax
'Declaration
 
Protected Overrides Sub ScaleControl( _
   ByVal factor As SizeF, _
   ByVal specified As BoundsSpecified _
) 
protected override void ScaleControl( 
   SizeF factor,
   BoundsSpecified specified
)

Parameters

factor
The factor by which the height and width of the control will be scaled.
specified
A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also