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 VB.NET  Print Example 

  Dim pageToExtract As Integer = 2

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

  Dim RVal As Integer
  RVal = DC.extractPDFpages("c:\test.pdf", "c:\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