Map for WinForms | ComponentOne
C1.Win.Map Namespace / C1Map Class / Translate Method
The offset pixels in horizontal.
The offset pixels in vertical.

In This Topic
    Translate Method (C1Map)
    In This Topic
    Moves the map with the specified offsets.
    Syntax
    'Declaration
     
    
    Public Sub Translate( _
       ByVal dx As Single, _
       ByVal dy As Single _
    ) 
    public void Translate( 
       float dx,
       float dy
    )

    Parameters

    dx
    The offset pixels in horizontal.
    dy
    The offset pixels in vertical.
    Remarks
    Valid only after the map is rendered.
    See Also