ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / RawDeviceContext 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 (RawDeviceContext)
    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.
    See Also