views:

1734

answers:

8

What's the best .NET PDF editing library available, and why?

It needs to be used on an IIS web-server. Specifically, I need to edit a PDF which was generated by reporting services.

Factors I'm interested in:

  1. Speed
  2. Memory Consumption
  3. Price
  4. Quality of documentation
  5. Library stability
  6. Size of library
  7. Whatever else you think is important
+1  A: 

I don't know if it's the best, but I use PDF-Writer.NET, for which I paid $89. I have used it in several production applications. I like it because it's easy to set up and use, and it doesn't require a lot of coding, which makes it easier for new developers to ramp up on it.

Before that I was hacking together PDFs using an open source library and the Acrobat interop DLLs. That was rough.

Robert S.
what was the open source library, so I can avoid it?
harley.333
PDFSharp, which isn't bad, but didn't suit my needs.
Robert S.
A: 

Check out Aspose.Pdf for .NET. It has a nice API, is well documented and has a light footprint.

Sumit
+2  A: 

I've researched quite a few tools that aren't offered specifically by Adobe, and the two that come to mind right away are Atalasoft's DotImage and LEADTools. They are both rather pricy, but provide server licensing and use the ultra-fast C++ GDI libraries.

There's a freeware .Net library called PDFSharp that uses .Net native GDI+, so it's slower and memory intensive. But then again, it's free.

AJ
PDFSharp is fine if your app just needs to output a PDF, like in a "Save as PDF" situation. It sucks for creating PDFs in large quantities.
Robert S.
We were attempting to use it for large-scale TIFF conversions to PDF and have run into memory issues occasionally. I agree, it works well for smaller-scale stuff.
AJ
I wouldn't recommend LEADTools, unless they've improved their API since version 14-ish.
Will
A: 

Not sure about the PDF part but Aspose has a library for PDF. I've used their word library for generating word documents. their documentation is very decent in my opinion.

http://www.aspose.com/categories/file-format-components/aspose.pdf-for-.net-and-java/default.aspx

thmsn
+2  A: 

I've used http://www.tallcomponents.com/ mainly to fill in pdf forms and then flatten the pdf. Seems to work fine. I haven't had any issues.

Keltex
+14  A: 

Have a look at iTextSharp. iTextSharp is a port of the iText , a free Java-Pdf library.

To quote iText:

You can use iText to:

  • Serve PDF to a browser
  • Generate dynamic documents from XML files or databases
  • Use PDF's many interactive features
  • Add bookmarks, page numbers, watermarks, etc.
  • Split, concatenate, and manipulate PDF pages
  • Automate filling out of PDF forms
  • Add digital signatures to a PDF file
  • And much more...
gimel
I'm curious about the performance of a ported assembly. Do you have enough experience to answer whether this is an issue?
harley.333
Sorry, only used it to add variable watermark to a fixed PDF with no performance requirements...
gimel
I've used it extensively, and it is pretty fast. I don't know how fast it is compared to the original Java library though. I've only ever worked with the .Net version. It's noticeably faster than some of the other commerical native libaries out there.
Troy Howard
+1  A: 

webSupergoo have a super PDF library for .NET

Their ABCpdf product is designed for use with web servers. The documentation is clear and the installation is accompanied by an example website project.

If you visit their website you should see a link to the live demonstration:

http://www.websupergoo.com/abcpdf-1.htm

ABCpdf 7 is the current version. The performance and reliability is excellent. The standard version costs $329 USD, but sometimes an installation can be obtained for free. The download size is about 30 MB. Supports both 32 and 64-bit servers.

AffineMesh94464
A: 

Syncfusion Essential PDF is the best. I have been using it for years. Also, Syncfusion provides a best support compared to other vendors.

Michael John