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


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

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

    DC.setParameter("DocumentOutputFormat", "TIFF")
    DC.setParameter("DocumentOutputName", "testTIFF_VBNET")
    DC.setParameter("DocumentOutputFolder", "d:\")

    DC.setParameter("TIFFType", "tiff24lzw")

    DC.setParameter("DocumentResolution", "150")

    DC.setParameter("MPTiff", "True")

    DC.setInputDocument(documentToConvert)

    Dim RVal As Integer : RVal = DC.create
    DC = Nothing

    If (RVal <> 0) Then
       MsgBox("Error while creating document!!!")
    Else
       MsgBox("Done Converting !!!")
    End If



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