ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / ScaleWindow Method
A int specifies the amount by which to multiply the current horizontal extent.
A int specifies the amount by which to divide the current horizontal extent.
A int specifies the amount by which to multiply the current vertical extent.
A int specifies the amount by which to divide the current vertical extent.

In This Topic
    ScaleWindow Method
    In This Topic
    Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
    Syntax
    'Declaration
     
    
    Public Sub ScaleWindow( _
       ByVal numX As Integer, _
       ByVal denomX As Integer, _
       ByVal numY As Integer, _
       ByVal denomY As Integer _
    ) 
    public void ScaleWindow( 
       int numX,
       int denomX,
       int numY,
       int denomY
    )

    Parameters

    numX
    A int specifies the amount by which to multiply the current horizontal extent.
    denomX
    A int specifies the amount by which to divide the current horizontal extent.
    numY
    A int specifies the amount by which to multiply the current vertical extent.
    denomY
    A int specifies the amount by which to divide the current vertical extent.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also