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 8: Convert a PostScript document into PDF from VB.NET  Print Example 


    Dim docToConvert As String = "d:\test.ps"

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

    DC.setParameter("DocumentOutputFormat", "PDF")
    DC.setParameter("DocumentOutputName", "testPS_VBNET")
    DC.setParameter("DocumentOutputFolder", "d:\")

    Dim RVal As Integer
    RVal = DC.setInputDocument(docToConvert)
    If (RVal <> 0) Then MsgBox("Invalid input document!!!")

    RVal = DC.create
    DC = Nothing

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



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