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


<%

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

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

  DC.setParameter "DocumentOutputFormat", "TIFF"
  DC.setParameter "DocumentOutputName", "testTIFF_ASP"
  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 
    Response.Write "Error converting document!!!"
  else
    Response.Write "Done converting!!!"
  End If

%>



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