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


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

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

  Dim RVal : RVal = DC.ConvertImage(documentToConvert, documentToConvert & ".pdf")
  Set DC = Nothing

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



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