JavaScript Editor Javascript debugger     Website design 

cpdf_rotate

Sets rotation (PHP 4, PHP 5 <= 5.0.5)
bool cpdf_rotate ( int pdf_document, float angle )

Sets the rotation in degrees to angle.

Parameters

pdf_document

The document handle, returned by cpdf_open().

angle

The angle, in degrees

Return Values

Returns TRUE on success or FALSE on failure.