Applies the specified scale dimension to the indicated container control. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim control As ContainerControl
Dim miniDimension As SizeF

UtilityClass.CorrectScaleDimension(control, miniDimension)

Syntax

Visual Basic
Public Shared Sub CorrectScaleDimension ( _
		control As ContainerControl, _
		miniDimension As SizeF _
)
C#
public static void CorrectScaleDimension (
		ContainerControl control,
		SizeF miniDimension
)
C++
public:
static void CorrectScaleDimension (
		ContainerControl^ control, 
		SizeF miniDimension
)
J#
public static void CorrectScaleDimension (
		ContainerControl control, 
		SizeF miniDimension
)
JScript
public static function CorrectScaleDimension (
		control : ContainerControl, 
		miniDimension : SizeF
)

Parameters

control

[in] System.Windows.Forms.ContainerControl object.

miniDimension

System.Drawing.SizeF object for the dimension.

Remarks

Controls can only be kept at their original size or enlarged.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also