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