BaseFormGetScaledBounds Method
Retrieves the bounds within which the control is scaled.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
protected override Rectangle GetScaledBounds(
Rectangle bounds,
SizeF factor,
BoundsSpecified specified
)
Protected Overrides Function GetScaledBounds (
bounds As Rectangle,
factor As SizeF,
specified As BoundsSpecified
) As Rectangle
protected:
virtual Rectangle GetScaledBounds(
Rectangle bounds,
SizeF factor,
BoundsSpecified specified
) override
abstract GetScaledBounds :
bounds : Rectangle *
factor : SizeF *
specified : BoundsSpecified -> Rectangle
override GetScaledBounds :
bounds : Rectangle *
factor : SizeF *
specified : BoundsSpecified -> Rectangle
- 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.
RectangleA
Rectangle representing the bounds within which the control is scaled.