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


   Dim pageToExtract As Integer = 2

   Dim DC As Object : DC = CreateObject("Neevia.docCreator")

   Dim RVal As Integer
   RVal = DC.extractPDFPages("d:\test.pdf","d:\page.pdf", _
                             pageToExtract, pageToExtract)

   DC = Nothing

   If RVal=0 Then
     MsgBox("Done !!!")
   Else
     MsgBox("There was an error extracting the page !!!")
   End If



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