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 ASP  Print Example 


<%

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

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

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

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

%>



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