Skip to content

.NET wrapper around Google's PDFium library

License

Notifications You must be signed in to change notification settings

PedroCigaw/PDFiumSharp

 
 

Repository files navigation

PDFiumSharp Library

The PDFiumSharp library is a C#/.NET wrapper around the PDFium library. It enables .NET developers to create, open, manipulate, render and save PDF documents.

Getting Started

The easiest way to get going is to reference the NuGet packages. There are five NuGet packages available:  

  • PDFium.Windows contains the native PDFium binaries for windows. Either install this package or provide the binaries yourself (put pdfium_x64.dll, pdfium_x86.dll in the application directory).
  • PDFiumSharp contains the core package. With this you can create, open, manipulate, render and save PDF documents. PdfPages can be rendered to PDFiumBitmaps (which are simply memory buffers). This package depends on the presence of the native PDFium binaries.
  • PDFiumSharp.GdiPlus extends the PdfPage class with extension methods to render to Bitmaps.
  • PDFiumSharp.Wpf extends the PdfPage class with extension methods to render to WriteableBitmaps.
  • PDFiumSharp.Xwt extends the PdfPage class with extension methods to render to BitmapImages.
  To create or load a PDF document, use one of the PdfDocument's constructors.

About

.NET wrapper around Google's PDFium library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.7%
  • Batchfile 0.3%