Translates the coordinate system before rendering the element. The coordinates of the element are relative to the translated coordinate system.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void Translate(
	float tx,
	float ty
)
Visual Basic
Public Sub Translate ( 
	tx As Single,
	ty As Single
)
Visual C++
public:
void Translate(
	float tx, 
	float ty
)

Parameters

tx
Type: System..::..Single
The distance to translate the origin of the coordinate system in the horizontal dimension
ty
Type: System..::..Single
The distance to translate the origin of the coordinate system in the horizontal dimension

See Also