ComponentOne MultiSelect 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.
    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