Edit

Share via


Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Method

Definition

Retrieves the bounds within which the control is scaled.

protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.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.

Returns

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

Applies to

See also