Added by James Ormerod over 10 years ago
Hi,
I am using the advanced tables class however when trying to import a pdf page i get undefined method myPDF::setSourceFile() ?
$pageCount = $oPdf->setSourceFile("invoice-footerpage.pdf");
$tplIdx = $oPdf->importPage(1);
$oPdf->addPage();
$oPdf->useTemplate($tplIdx, 10, 10, 90);
Why does this not work / how do I get around the problem?
Regards,
James
What addon are you using?
I don't think setSourceFile is a native method of fpdf or tcpdf.
Maybe you try to use FPDI but your object is not correctly initialized?