example40_MPDFI_thumbnails.php 364 B

1234567891011121314151617181920
  1. <?php
  2. include("../mpdf.php");
  3. $mpdf=new mPDF();
  4. $mpdf->SetImportUse();
  5. $mpdf->Thumbnail('sample_orientation2.pdf', 4, 5); // number per row // spacing in mm
  6. $mpdf->WriteHTML('<pagebreak /><div>Now with rotated pages</div>');
  7. $mpdf->Thumbnail('sample_orientation3.pdf', 4); // number per row // spacing in mm
  8. $mpdf->Output();
  9. exit;
  10. ?>