Compartir a través de


UtilityClass.CorrectScaleDimension Method

Applies the specified scale dimension to the indicated container control.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim control As ContainerControl
Dim miniDimension As SizeF

UtilityClass.CorrectScaleDimension(control, miniDimension)

Syntax

'Declaration
Public Shared Sub CorrectScaleDimension ( _
    control As ContainerControl, _
    miniDimension As SizeF _
)
public static void CorrectScaleDimension (
    ContainerControl control,
    SizeF miniDimension
)
public:
static void CorrectScaleDimension (
    ContainerControl^ control, 
    SizeF miniDimension
)
public static void CorrectScaleDimension (
    ContainerControl control, 
    SizeF miniDimension
)
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

Reference

UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace