Manuals

 

Info

It's FREE!

The 'F' in FPDI stands for 'free': you may use it for any kind of project and adapt it to your needs -the license conditions of ASL 2.0 are met nevertheless.

donate via PayPal


FPDI::setSourceFile()

Description

class FPDI extends FPDF_TPL {
integer setSourceFile ( string $filename ) }

Opens a file and reads the needed information. It returns the page count. The resulting PDF document is created with the highest version number of the imported documents.

Parameters

$filename

A valid path to a PDF file you want to take pages from. Only local files are allowed.

Return Values

The page count of the source file.