JavaScript Editor Javascript debugger     Website design 

cpdf_translate

Sets origin of coordinate system (PHP 4, PHP 5 <= 5.0.5)
bool cpdf_translate ( int pdf_document, float x_coor, float y_coor )

Sets the origin of coordinate system to the specified point.

Parameters

pdf_document

The document handle, returned by cpdf_open().

x_coor

The x-coordinate of the point

y_coor

The y-coordinate of the point

Return Values

Returns TRUE on success or FALSE on failure.