ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / TransformMatrix Class / Translate Method / Translate(Single,Single,TransformOrder) Method
The x value by which to translate this Matrix.
The y value by which to translate this Matrix.
A TransformOrder enumeration that specifies the order (append or prepend) in which the translation is applied to this Matrix object.

In This Topic
    Translate(Single,Single,TransformOrder) 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, _
       ByVal order As TransformOrder _
    ) 
    public void Translate( 
       float offsetX,
       float offsetY,
       TransformOrder order
    )

    Parameters

    offsetX
    The x value by which to translate this Matrix.
    offsetY
    The y value by which to translate this Matrix.
    order
    A TransformOrder enumeration that specifies the order (append or prepend) in which the translation is applied to this Matrix object.
    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