Skip to content
DocNET is as fast PDF editing and reading library for modern .NET applications
C# Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets pdfium locking for thread safety Nov 13, 2018
examples
nuget
src post osx support cleanup and examples Jul 30, 2019
tools add osx support (#6) Jul 30, 2019
.gitignore add osx support (#6) Jul 30, 2019
.travis.yml add osx support (#6) Jul 30, 2019
LICENSE license file Nov 11, 2018
NuGet.config
README.md

README.md

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

You can’t perform that action at this time.