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.SizeFA pair of numbers that represent the size of the control. The specified parameter determines how the numbers are used.
specified
Type: System.Windows.Forms.BoundsSpecifiedA bitwise combination of the BoundsSpecified enumeration values that specify the bounds of the control to use.
See Also
LineBox Class
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top