ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / TransformMatrix Class / Translate Method / Translate(Single,Single) Method
The x value by which to translate this Matrix.
The y value by which to translate this Matrix.

In This Topic
    Translate(Single,Single) Method
    In This Topic
    Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Translate( _
       ByVal offsetX As Single, _
       ByVal offsetY As Single _
    ) 
    public void Translate( 
       float offsetX,
       float offsetY
    )

    Parameters

    offsetX
    The x value by which to translate this Matrix.
    offsetY
    The y value by which to translate this Matrix.
    See Also