PdfiumViewer.WPF 1.0.6

.NET 5.0 .NET Core 3.1
dotnet add package PdfiumViewer.WPF --version 1.0.6
NuGet\Install-Package PdfiumViewer.WPF -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PdfiumViewer.WPF" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PdfiumViewer.WPF --version 1.0.6
#r "nuget: PdfiumViewer.WPF, 1.0.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PdfiumViewer.WPF as a Cake Addin
#addin nuget:?package=PdfiumViewer.WPF&version=1.0.6

// Install PdfiumViewer.WPF as a Cake Tool
#tool nuget:?package=PdfiumViewer.WPF&version=1.0.6

NuGet NuGet


Apache 2.0 License.

Note: this is a .Net Core WPF port of PdfiumViewer

Download from NuGet.

Download Portabl PdfiumViewer WPF Demo





PdfiumViewer is a PDF viewer based on the PDFium project.

PdfiumViewer provides a number of components to work with PDF files:

  • PdfDocument is the base class used to render PDF documents;

  • PdfRenderer is a WPF control that can render a PdfDocument;

Note: If you want to use that in WinForms, please use the main project from PdfiumViewer WinForm


The PdfiumViewer library has been tested with Windows XP and Windows 8, and is fully compatible with both. However, the native PDFium libraries with V8 support do not support Windows XP. See below for instructions on how to reference the native libraries.

Using the library

The PdfiumViewer control requires native PDFium libraries. These are not included in the PdfiumViewer NuGet package. See the Installation instructions Wiki page for more information on how to add these.

Note on the PdfViewer control

The PdfiumViewer library primarily consists out of three components:

  • The PdfRenderer control. This control implements the raw PDF renderer. This control displays a PDF document, provides zooming and scrolling functionality and exposes methods to perform more advanced actions;
  • The PdfDocument class provides access to the PDF document and wraps the Pdfium library.

Building PDFium

Instructions to build the PDFium library can be found on the Building PDFium wiki page. However, if you are just looking to use the PdfiumViewer component or looking for a compiled version of PDFium, these steps are not required. NuGet packages with precompiled PDFium libraries are made available for usage with PdfiumViewer. See the chapter on Using the library for more information.

Alternatively, the PdfiumBuild project is provided to automate building PDFium. This project contains scripts to build PdfiumViewer specific versions of the PDFium library. This project is configured on a build server to compile PDFium daily. Please refer to the PdfiumBuild project page for the location of the output of the build server. The PdfiumViewer specific libraries are located in the PdfiumViewer-... target directories.


Bugs should be reported through github at http://github.com/bezzad/PdfiumViewer/issues.


PdfiumViewer is licensed under the Apache 2.0 license. See the license details for how PDFium is licensed.

Product Versions
.NET net5.0 net5.0-windows net5.0-windows7.0 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
1.0.6 3,101 11/28/2020
1.0.5 391 10/27/2020
1.0.4 365 10/25/2020
1.0.1 448 7/22/2020

.Net 5 Support