- Notifications
You must be signed in to change notification settings - Fork50
PDF viewer based on Google's PDFium port to .Net Core.
License
bezzad/PdfiumViewer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Apache 2.0 License.
Note: this is a .Net Core WPF port ofPdfiumViewer
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 fromPdfiumViewer WinForm
The PdfiumViewer library has been tested with Windows XP and Windows 8, andis fully compatible with both. However, the native PDFium libraries with V8support do not support Windows XP. See below for instructions on how toreference the native libraries.
The PdfiumViewer control requires native PDFium libraries. These are not includedin the PdfiumViewer NuGet package. See theInstallation instructionsWiki page for more information on how to add these.
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 scrollingfunctionality and exposes methods to perform more advanced actions; - The
PdfDocument
class provides access to the PDF document and wrapsthe Pdfium library.
Instructions to build the PDFium library can be found on theBuilding PDFiumwiki page. However, if you are just looking to use the PdfiumViewer componentor looking for a compiled version of PDFium, these steps are not required.NuGet packages with precompiled PDFium libraries are made available forusage with PdfiumViewer. See the chapter onUsing the library for moreinformation.
Alternatively, thePdfiumBuild projectis provided to automate building PDFium. This project contains scripts tobuild PdfiumViewer specific versions of the PDFium library. This projectis configured on a build server to compile PDFium daily. Please refer tothePdfiumBuild project pagefor the location of the output of the build server. The PdfiumViewer specificlibraries are located in thePdfiumViewer-...
target directories.
Bugs should be reported through github athttp://github.com/bezzad/PdfiumViewer/issues.
PdfiumViewer is licensed under the Apache 2.0 license. See the license details for how PDFium is licensed.
About
PDF viewer based on Google's PDFium port to .Net Core.