开发者

.Net Component to convert all the major file formats to PDF [closed]

开发者 https://www.devze.com 2023-02-16 10:06 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_JS百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a .net component (Open source or commercial) which can convert all the major frequently used file formats to PDF without making use of a print driver. I'm looking for a support for the following file formats

  1. MS word (doc, docx)
  2. MS Excel (xls, xlsx)
  3. MS PowerPoint (ppt, pptx)
  4. Major Image formats
  5. HTML to pdf
  6. txt, rtf etc.

Any suggestions?


The main products that I'm aware of is Aspose. You'll probably need the following

  • Aspose.Words
  • Aspose.Cells
  • Aspose.Slides
  • Aspose.PDF
  • Aspose.PDFKit


Google search lead me to this

and you may check DevExprees Team to see if the got something helpful


You could probably use GemBox.Document and GemBox.Spreadsheet. They are able to work with most document and spreadsheet files. Take a look and see if they suit you. There are free versions as well.


as someone who spent time looking for such a solution for my company's product--I can tell you that you are not going to find one. It does not exist. Sorry, dude. :(


This question is almost identical to this one. So I have repeated my reply to that one below.

Shameless plug, as I worked on this product, but try the PDF Conversion Services. Scalable, reliable, optimised for server use, adds new formats all the time (see new DXF and DWG support), supports watermarking, PDF Security etc. Has a web services based interface, so works well with C#, Java and many other platforms.

Code sample here.


To output any format of file to another format requires the interpretation of the file, an in some cases proprientary formats, then a rendering of that into a new format. Most of these converters use printer drivers with existing API's etc to print to a PostScript Driver (available on most machines) then converting the PS file to PDF, which can be done via GhostScript.

Most Office documents (and supporting formats, txt, html etc) can be done this way, via office automation or using products that provide better API's. You may even be able to print directly to PDF in this case.


A slightly cheaper, though not comprehensive product is Solid Documents. We're using it and it handles office xml formats without automation, though it does automate when you give it a binary office document.


The following MSDN document may help: Saving Word 2007 Documents to PDF and XPS Formats

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号