Freigeben über


UtilityClass.ForceScaleWithFont Method

Forces the control scaling with font mode with the specified font.

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

Usage

'Usage
Dim control As ContainerControl
Dim font As Font
Dim originalDimension As SizeF

UtilityClass.ForceScaleWithFont(control, font, originalDimension)

Syntax

'Declaration
Public Shared Sub ForceScaleWithFont ( _
    control As ContainerControl, _
    font As Font, _
    originalDimension As SizeF _
)
public static void ForceScaleWithFont (
    ContainerControl control,
    Font font,
    SizeF originalDimension
)
public:
static void ForceScaleWithFont (
    ContainerControl^ control, 
    Font^ font, 
    SizeF originalDimension
)
public static void ForceScaleWithFont (
    ContainerControl control, 
    Font font, 
    SizeF originalDimension
)
public static function ForceScaleWithFont (
    control : ContainerControl, 
    font : Font, 
    originalDimension : SizeF
)

Parameters

  • control
    [in] System.Windows.Forms.ContainerControl object.
  • font
    [in] System.Drawing.Font object that represents the font.
  • originalDimension
    [in] System.Drawing.SizeF object for the original dimension.

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