BaseFormGetScaledBounds Method

Retrieves the bounds within which the control is scaled.

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
protected override Rectangle GetScaledBounds(
	Rectangle bounds,
	SizeF factor,
	BoundsSpecified specified
)

Parameters

bounds  Rectangle
A Rectangle that specifies the area for which to retrieve the display bounds.
factor  SizeF
The height and width of the control's bounds.
specified  BoundsSpecified
One of the values of BoundsSpecified that specifies the bounds of the control to use when defining its size and position.

Return Value

Rectangle
A Rectangle representing the bounds within which the control is scaled.

See Also