Table of Contents

Method ScaleControl

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

ScaleControl(SizeF, BoundsSpecified)

Scales a control's location, size, padding and margin.

protected override void ScaleControl(SizeF factor, BoundsSpecified specified)

Parameters

factor SizeF

The factor by which the height and width of the control will be scaled.

specified BoundsSpecified

A BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.