Manuals

 

SetaPDF_PdfStamp::getPageRotation()

Description

class SetaPDF_PdfStamp extends SetaPDF_Stamp {
mixed getPageRotation ( integer $pageNo[, mixed $fileName=null] ) }

Gets the number of degrees by which the page is rotated.

Parameters

$pageNo

The page number

$fileName

The path of the PDF file. If not set, the document which is set in the setFileName()-method is taken.

Return Values

An integer value of a factor 90 or false if no value is given.

If an error occurs this method will return a SetaPDF_Error-Object.

Version

as of version 1.7