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.
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.
Execute the CreateBindingsPackage.bat
This will do the following:
asset/libraries
directory.PDFiumCore.cs
in the current directory.src/PDFiumCore/runtimes
directories.src/PDFiumCore/PDFiumCore.cs
with the newly generated PDFiumCore.cs
.PDFiumCoreBindingsGenerator.exe requires the following parameters:
bblanchon/pdfium-binaries
project or latest
. This is to determine the release version and binary assets to download.https://pdfium.googlesource.com/pdfium/
https://github.com/bblanchon/pdfium-binaries
https://github.com/mono/CppSharp
Matching the PDFium project, this project is released under Apache-2.0 License.