Dtronix / PDFiumCore

.NET Standard P/Invoke bindings for PDFium.
Apache License 2.0
145 stars 23 forks source link
csharp dotnet pdf pdf-document pdf-document-processor pdf-generation pdfium pinvoke-wrapper

PDFiumCore NuGet Action Workflow

PDFiumCore is a .NET Standard 2.1 wrapper for the PDFium library which includes the binaries and header pinvoke bindings. Supports Linux-x64, OSX-x64, Win-x64, Win-x86.

Bindings are generated from the binaries and header files created at pdfium-binaries repository.

Usage

The preferred way to use this project is to use the Nuget Package. This will ensure all the proper bindings in the *.deps.json are generated and included for the targeted environments.

Build Requirements

Manual Building

Execute the CreateBindingsPackage.bat

This will do the following:

PDFiumCoreBindingsGenerator Parameters

PDFiumCoreBindingsGenerator.exe requires the following parameters:

ToDo

Resources

https://pdfium.googlesource.com/pdfium/

https://github.com/bblanchon/pdfium-binaries

https://github.com/mono/CppSharp

License

Matching the PDFium project, this project is released under Apache-2.0 License.