Version

Translate Method (Graphics)

Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix.
Syntax
'Declaration
 
Public Sub Translate( _
   ByVal offsetX As Single, _
   ByVal offsetY As Single _
) 
public void Translate( 
   float offsetX,
   float offsetY
)

Parameters

offsetX
X-component of the translation.
offsetY
Y-component of the translation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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