![]() |
VOOZH | about |
dotnet add package PdfiumViewer.WPF --version 1.0.6
NuGet\Install-Package PdfiumViewer.WPF -Version 1.0.6
<PackageReference Include="PdfiumViewer.WPF" Version="1.0.6" />
<PackageVersion Include="PdfiumViewer.WPF" Version="1.0.6" />Directory.Packages.props
<PackageReference Include="PdfiumViewer.WPF" />Project file
paket add PdfiumViewer.WPF --version 1.0.6
#r "nuget: PdfiumViewer.WPF, 1.0.6"
#:package PdfiumViewer.WPF@1.0.6
#addin nuget:?package=PdfiumViewer.WPF&version=1.0.6Install as a Cake Addin
#tool nuget:?package=PdfiumViewer.WPF&version=1.0.6Install as a Cake Tool
Apache 2.0 License.
Note: this is a .Net Core WPF port of PdfiumViewer
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.
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.
PdfViewer controlThe PdfiumViewer library primarily consists out of three components:
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;PdfDocument class provides access to the PDF document and wraps
the Pdfium library.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 Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net5.0-windows7.0 net5.0-windows7.0 is compatible. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 netcoreapp3.1 is compatible. |
Showing the top 1 NuGet packages that depend on PdfiumViewer.WPF:
| Package | Downloads |
|---|---|
|
H.Controls.PDF
WPF-Control 是一个基于 .NET 8+ 的高性能 WPF 控件库,提供丰富的轻量级 UI 组件、多套现代化 皮肤主题,并整合了精选的 第三方开源控件,同时内置 数据库仓储模型 和 模块化封装 的通用功能,适用于企业级应用开发,帮助开发者快速构建高效、美观的桌面应用程序。 |
Showing the top 1 popular GitHub repositories that depend on PdfiumViewer.WPF:
| Repository | Stars |
|---|---|
|
HeBianGu/WPF-Control
WPF-Control 是一个基于 .NET 8+ 的高性能 WPF 控件库,提供丰富的轻量级 UI 组件、多套现代化 皮肤主题,并整合了精选的 第三方开源控件,同时内置 数据库仓储模型 和 模块化封装 的通用功能,包含完整桌面应用程序的解决方案,适用于企业级应用开发,帮助开发者快速构建高效、美观的桌面应用程序。
|
.Net 5 Support