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 10: Convert a PDF file into TIFF from Visual Basic  Print Example 


  Dim documentToConvert : documentToConvert="d:\test.pdf"

  Dim DC : Set DC = CreateObject("Neevia.docCreator")

  DC.setParameter "DocumentOutputFormat", "TIFF"
  DC.setParameter "DocumentOutputName", "testTIFF_VB"
  DC.setParameter "DocumentOutputFolder", "d:\"

  DC.setParameter "TIFFType", "tiff24lzw"
  DC.setParameter "DocumentResolution", "150"
  DC.setParameter "MPTiff", "true"

  DC.setInputDocument documentToConvert
  Dim RVal : RVal = DC.Create  
  Set DC = Nothing

  If (RVal <> 0) Then 
    MsgBox "Error converting document!!!"
  else
    MsgBox "Done converting!!!"
  End If



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