ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / CompatibleDeviceContext Class / TranslateWindow Method
An int specifies the horizontal offset.
An int specifies the vertical offset.

In This Topic
    TranslateWindow Method (CompatibleDeviceContext)
    In This Topic
    Modifies the window origin for a device context using the specified horizontal and vertical offsets.
    Syntax
    'Declaration
     
    
    Public Sub TranslateWindow( _
       ByVal dx As Integer, _
       ByVal dy As Integer _
    ) 
    public void TranslateWindow( 
       int dx,
       int dy
    )

    Parameters

    dx
    An int specifies the horizontal offset.
    dy
    An int specifies the vertical offset.
    See Also