Neevia Technology Sites:  |  |
:: Home :: Products :: Technical Support :: About Us :: Contact Us
Technical support > Neevia docCreator code samples
Example 10: Convert a PDF file into TIFF from C#  Print Example 

Add a reference in your project to docCreator library.
To do this:
      a. On the Project menu, click Add Reference.
      b. On the COM tab, locate docCreator Library and then click Select.
      c. Click OK in the Add References dialog box to accept your selections.
   String documentToConvert = @"d:\\test.pdf";

   Neevia.docCreator DC = new Neevia.docCreator();

   DC.setParameter("DocumentOutputFormat", "TIFF");
   DC.setParameter("DocumentOutputName", "testTIFF_CSHARP");
   DC.setParameter("DocumentOutputFolder", @"d:\");

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

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

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

   DC.setInputDocument(documentToConvert, "");

   int RVal = DC.create();
   DC = null;

   if (RVal != 0)
       MessageBox.Show("Error while creating document!!!");
       MessageBox.Show("Done Converting !!!");

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