A C# binding for MuPDF. Includes MuPDF.NET4LLM (LLM/RAG helpers: PDF-to-Markdown, layout parsing, document structure).
$ dotnet add package MuPDF.NETMuPDF.NET adds C#/.NET bindings and abstractions to MuPDF, a lightweight PDF, XPS, and eBook viewer, renderer, and toolkit. Both MuPDF.NET and MuPDF are maintained and developed by Artifex Software, Inc.
MuPDF.NET solution.BuildMuPDF.NET.dll and Demo.exe. Users can use MuPDF.NET.dll as a reference in C# project and use defined classes and functions. Demo.exe is one of examples.mupdfcpp64.dll and mupdfcsharp.dll.using MuPDF.NET;. For this, you have to copy these files in same level with MuPDF.NET project.MuPDF.NET is available under open-source AGPL and commercial license agreements. If you determine you cannot meet the requirements of the AGPL, please contact Artifex for more information regarding a commercial license.