Manuals

 

SetaPDF_PdfStamp::setFileName()

Description

class SetaPDF_PdfStamp extends SetaPDF_Stamp {
mixed setFileName ( string $filename[, integer $pageNo=1] ) }

Sets the path to the pdf file. Only local files are allowed.

Additionally you can define which page you want to use with this stamp object.

Parameters

$filename

Tha path to the image file.

$pageNo

The page number

Return value

True - if the file could be read and interpreted - an SetaPDF_Error object if an error occurs.

Version

as of version 1.7