您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

cpdf_translate

(PHP 4, PHP 5 <= 5.0.5)

cpdf_translate — Sets origin of coordinate system

说明

bool cpdf_translate ( int $pdf_document , float $x_coor , float $y_coor )

Sets the origin of coordinate system to the specified point.

参数

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE