Search code examples
c#javapdfpdf-generationpdf-manipulation

free PDF manipulation library or code?


I think of developing a tool for commercial usage (I intent to sell it), which will include manipulating document files.

The manipulations will include: 1. concatenating several PDF files into one. 2. converting doc/docx file into a PDF file. 3. breaking a single PDF file into 2 separated PDF files. 4. numbering the pages of a PDF file (with a sequentially running number).

For that matter, I'm looking for a free library or code to help me with the PDF manipulations. I prefer the library to be in C# because my software will be in C# as it has some GUI, but I'll manage with JAVA library too...

I found the "pdftk" library which can help me a lot, but unfortunately it's license doesn't allow commercial use....

Does anyone have an idea of a free library or code which can help me with that?

Thanks a lot!!


Solution

  • If you want to manipulate PDF with java, PDFBox is good choice.

    Also you can take a look at itextpdf which has support for java and C#. There is community version for the library.