Partager via


LineBox.ScaleControl Method (SizeF, BoundsSpecified)

 

Specifies the size of the control before the dpi scaling ratio is applied.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

protected override void ScaleControl(
    SizeF factor,
    BoundsSpecified specified
)
protected:
virtual void ScaleControl(
    SizeF factor,
    BoundsSpecified specified
) override
Protected Overrides Sub ScaleControl (
    factor As SizeF,
    specified As BoundsSpecified
)

Parameters

  • factor
    Type: System.Drawing.SizeF

    A pair of numbers that represent the size of the control. The specified parameter determines how the numbers are used.

See Also

LineBox Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top