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.
A valid path to a PDF file you want to take pages from. Only local files are allowed.
The page count of the source file.