MuPDF.NET
2.0.1
See the version list below for details.
dotnet add package MuPDF.NET --version 2.0.1
NuGet\Install-Package MuPDF.NET -Version 2.0.1
<PackageReference Include="MuPDF.NET" Version="2.0.1" />
paket add MuPDF.NET --version 2.0.1
#r "nuget: MuPDF.NET, 2.0.1"
// Install MuPDF.NET as a Cake Addin #addin nuget:?package=MuPDF.NET&version=2.0.1 // Install MuPDF.NET as a Cake Tool #tool nuget:?package=MuPDF.NET&version=2.0.1
MuPDF.NET
About
MuPDF.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.
Prerequisites
While being portable to other platforms, this documentation is targeted to the Windows operating system and Visual Studio only.
- Visual Studio Community version 2019 or version 2022
- .Net v7 or later
Installation
Clone this repository.
Expand folder
MuPDF.NET
and double-click on fileMuPDF.NET.sln
. This will start your Visual Studio application.Select
Release
andx64
and selectBuild|Solution
. Look at the window "Solution Explorer". If you see warnings like in this picture, click on "Install" as indicated to install any missing components.Again select
Build|Solution
and make sure the generation is successful.Folder
MuPDF.NET
will now contain some DLL files of which you needmupdfcpp64.dll
andmupdfcsharp.dll
for all your future mupdf.net applications. DLLmupdfcpp64.dll
contains the C library MuPDF wrapped with a C++ binding, andmupdfcsharp.dll
contains the C# bindings for MuPDF.Your system administration may determine to put these DLLs in a system folder or provide access to it via a
path
environment variable. If neither of this is the case, both files must be present in the projectbin
folder of your applications.
Creating a MuPDF.NET Application
Create a C# application using the same Visual Studio version that created above system DLLs.
Download and add MuPDF.NET package from Nuget. Refer to it via instruction
using MuPDF.NET;
in your C# source.Code your program and build it using the VS menu items
Build|Solution
. If the system DLLs are not globally accessible as mentioned above, copymupdfcpp64.dll
andmupdfcsharp.dll
to your application'sbin
folder.The generated executable of your app is the
.exe
file in thebin
folder.
License and Copyright
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-maccatalyst16.1 is compatible. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows10.0.19041 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
-
net7.0-android33.0
- Newtonsoft.Json (>= 13.0.3)
-
net7.0-ios16.1
- Newtonsoft.Json (>= 13.0.3)
-
net7.0-maccatalyst16.1
- Newtonsoft.Json (>= 13.0.3)
-
net7.0-windows10.0.19041
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.1 | 399 | 10/7/2024 |
2.1.0 | 790 | 8/13/2024 |
2.0.12-alpha | 173 | 7/8/2024 |
2.0.11-alpha | 161 | 7/2/2024 |
2.0.10-alpha | 116 | 6/29/2024 |
2.0.9-alpha | 126 | 6/28/2024 |
2.0.8-alpha | 152 | 6/26/2024 |
2.0.7-alpha | 130 | 6/7/2024 |
2.0.6-alpha | 113 | 5/27/2024 |
2.0.5-alpha | 175 | 5/21/2024 |
2.0.4 | 909 | 5/3/2024 |
2.0.3 | 188 | 5/1/2024 |
2.0.2 | 215 | 5/1/2024 |
2.0.1 | 181 | 5/1/2024 |
2.0.0 | 297 | 2/16/2024 |