Neevia Technology Sites:   www.neevia.com  |  docuPub.com  |  www.neeviaPDF.com
:: Home :: Products :: Technical Support :: About Us :: Contact Us
Technical support > Neevia Document Converter Pro code samples
Example 16: Extract a page from an existing PDF file from PHP  Print Example 

<?php

  $pageToExtract=2;

  $DC = New COM("Neevia.docConverter");

  $RVal = $DC->extractPDFpages("c:\\test.pdf", "c:\\page.pdf", $pageToExtract, $pageToExtract);

  if ($RVal != 0) {
    echo "There was an error extracting the page !!!";
  }else{
    echo "Done !!!";
  }

?>



Copyright © 1999-2016 Neevia Technology. All Rights Reserved. Home | Products | Technical Support | About Us | Contact Us