/docnet

DocNET is as fast PDF editing and reading library for modern .NET applications

Primary LanguageC#OtherNOASSERTION

docnet

Build Status NuGet

Description

docnet aims to be a fast PDF editing and data extraction library. It is a .NET Standard 2.0 wrapper for PDFium C++ library that is used by chromium.

PDFium version: 3866

Notes

  • docnet currently supports x64 configuration only.

Supported platforms:

  • win
  • linux
  • osx

Features

  • Extract PDF version
  • Extract page count
  • Extract page information
    • Get page width
    • Get page height
    • Get page text
    • Get characters
    • Get character boundaries
    • Cluster characters into words
    • Render page to image
  • Split PDF document
  • Merge PDF document
  • Unlock PDF document
  • Convert JPEG files to PDF

Examples

  • Render PDF page as PNG and display all character bounding boxes: example

    Render PDF page example

    Note: If you have issues running on Linux make sure that libgdiplus is installed since this example uses System.Drawing.Common.

  • Convert JPEG file to PDF: example