Question:I want to create PDF with word, excel, text, html input. It does not have to be a true .Net PDF library as long as it works with .NET code. Is there anything can handle that available? Is there any solution on VeryDOC?
Answer: According to your needs, maybe you can have a free trial of software VeryDOC DOC to Any Converter. This software really takes a wide range of input like DOC, DOCX, DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files. And this software is not really .Net PDF library but you can call it together with .NET code or other computer languages like Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. If you choose the COM object (or DLL Library, or Command Line), file conversions can be done consecutively or simultaneously. Meanwhile creating PDF by this software is a slice of functions of this software. By it you can also create image files by this software. Please check more related information of this software on homepage, in the following part, let us check how to use this software.
Step 1. Free download DOC to Any Converter SDK/COM Version
- There are many license types for you to choose like by the End User License, you can apply this software under one computer. By the Server License, you can call this software under the whole server. And by the Developer License, you can develop software based on our software and then can be run on any number of servers/computers.
- When downloading finishes, there will be a zip file. Please extract it to some folder then you can check elements and call this software to create PDF from word, excel, text, html input.
Step 2. create PDF with word, excel, text, html input from .Net.
- When you use this software, please refer to the usage and code template in extracted folder.
- Here are some command line templates for your reference:
doc2any.exe example.doc out.pdf
doc2any.exe example.docx out.pdf
doc2any.exe example.rtf out.pdf
doc2any.exe example.txt out.pdf
doc2any.exe example.ppt out.pdf
doc2any.exe example.pptx out.pdf
doc2any.exe example.xls out.pdf
doc2any.exe example.xlsx out.pdf
During the conversion, you may use the following parameters:
-useoffice <int> : Use MS Office to render DOC,DOCX,RTF,TXT,PPT,PPTX,PPTS,PPTSX,XLS,XLSX formats
-useoffice 0: Don't use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
-useoffice 1: Use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
-useprinter : Convert DOC files to other formats via virtual printer
-keywords <string> : Set 'keywords' to PDF file
-openpwd <string> : Set 'open password' to PDF file
-ownerpwd <string> : Set 'owner password' to PDF file
-keylen <int> : Key length (40 or 128 bit)
There are two many parameters and command line templates, I can not list them here, Please check more on readme.txt file. When call this software to create PDF from .Net, please refer to the following code template:
System.Diagnostics.Process.Start("C:\doc2any.exe C:\test.doc C:\out.pdf")
During the using, if you have any question, please contact us as soon as possible.