method import documentation in bbn\File\Pdf

function($files) { if ( !\is_array($files) ){ $files = [$files]; } //$this->pdf->SetImportUse(); foreach ( $files as $f ){ if ( is_file($f) ){ $pagecount = $this->pdf->SetSourceFile($f); for ( $i = 1; $i <= $pagecount; $i++ ){ $import_page = $this->pdf->importPage($i); $this->pdf->UseTemplate($import_page); $this->pdf->addPage(); } } } } return $this; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.