Method ScaleControl
ScaleControl(SizeF, BoundsSpecified)
Scales the location, size, padding, and margin of a control.
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
Parameters
factor
SizeFThe factor by which the height and width of the control are scaled.
specified
BoundsSpecifiedA BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.