I want to use Apache's PDFBox Library in C#, i checked on NuGet but sadly, there's no PDFBox 2.0 in there.
I searched the internet for ways to use the Java Library on .Net, found some old articles (2011-2014) saying that i should use IKVM, and found some newer articles saying that IKVM is no longer updated and that it doesn't work no more.
Is there any working way to make the PDFBox 2.0 library work with C#?
I apologize if my questions sounds stupid, but 2 hours ago i didn't knew that we could convert Java libraries to .NET lol.
The Apache PDFBox library is a free software Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents.
One major difference is that PDFBox always processes text glyph by glyph while iText normally processes it chunk (i.e. single string parameter of text drawing operation) by chunk; that reduces the required resources in iText quite a lot.
Apache PDFBox is an open source Java library that can be used to create, render, print, split, merge, alter, verify and extract text and meta-data of PDF files.
Depending on what you need to do there are some other alternatives
https://github.com/UglyToad/PdfPig is a Port of PdfBox to .NET, but it's an early version.
PdfSharp is another alternative that I have used a bit
IText is another alternative which is free to use if you are using it for yourself
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With