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

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

    Parameters

    dx
    An int specifies the horizontal offset.
    dy
    An int specifies the vertical offset.
    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