Documentize 25.1.0

dotnet add package Documentize --version 25.1.0                
NuGet\Install-Package Documentize -Version 25.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Documentize" Version="25.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Documentize --version 25.1.0                
#r "nuget: Documentize, 25.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Documentize as a Cake Addin
#addin nuget:?package=Documentize&version=25.1.0

// Install Documentize as a Cake Tool
#tool nuget:?package=Documentize&version=25.1.0                

Version 25.1.0 NuGet .NET

.NET API to Process & Manipulate PDF Files

Product Page Docs API Ref Examples Blog Releases Support License FAQs


Documentize is a powerful .NET library that simplifies PDF manipulation tasks. Whether you're merging, splitting, extracting content, or securing PDF documents, Documentize offers a wide range of features to enhance productivity. With support for multiple platforms, including Windows, macOS, and Linux, it is a reliable choice for developers.

Key Features

PDF Manipulation

  • Merge or split PDF documents programmatically.
  • Extract text, images, or metadata from PDFs.
  • Add, update, or remove annotations and bookmarks.
  • Generate and apply watermarks to secure documents.

PDF Conversion

  • Convert PDF documents to various formats like Word (DOCX), Excel (XLSX), images (PNG, JPEG, TIFF), and HTML.
  • Create PDF/A-compliant files for long-term archiving.

Forms Handling

  • Create, fill, and flatten interactive forms.
  • Export and import form data to XML or JSON formats.

Security & Encryption

  • Apply password protection and permissions to restrict access.
  • Digitally sign and validate signatures on PDFs.
  • Encrypt or decrypt PDF documents.

Optimizations

  • Compress PDF files by optimizing images and removing unused objects.

System Requirements

Operating System Details
Windows Windows 7 and later, Windows Server 2003–2022
macOS macOS 10.12 (Sierra) and later
Linux Ubuntu, CentOS, Debian, OpenSUSE
.NET Frameworks .NET Framework 4.6.1+, .NET Core 2.0+, .NET 5.0+

Installation

Via NuGet

The easiest way to install Documentize SDKs is through NuGet:

Install-Package Documentize

Other Methods

Examples

Merge PDF Files

var plugin = new Merger();
var options = new MergeOptions();
options.AddInput(new FileDataSource(dataDir + "file1.pdf"));
options.AddInput(new FileDataSource(dataDir + "file2.pdf"));
options.AddOutput(new FileDataSource(dataDir + "result.pdf"));

plugin.Process(options);

Split PDF Files

var plugin = new Splitter();
var options = new SplitOptions();
options.AddInput(new FileDataSource(dataDir + "file.pdf"));
options.AddOutput(new FileDataSource(dataDir + "result1.pdf"));
options.AddOutput(new FileDataSource(dataDir + "result2.pdf"));

plugin.Process(options);

Extract Text from PDF

var plugin = new TextExtractor();
var options = new TextExtractorOptions();
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));

var results = plugin.Process(options);

string text = results.ResultCollection[0].ToString(),
Console.WriteLine(text);

Compress PDF

var plugin = new Optimizer();
var options = new CompressOptions();
options.AddInput(new FileDataSource(dataDir + "large.pdf"));
options.AddOutput(new FileDataSource(dataDir + "result.pdf"));

plugin.Process(options);

Digitally Sign a PDF

var plugin = new Signature();
var options = new SignOptions(dataDir + "cert.pfx", "password");
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new FileDataSource(dataDir + "result.pdf"));

plugin.Process(options);

Convert PDF to Word (.doc)

var plugin = new DocConverter();
var options = new PdfToDocOptions();
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new FileDataSource("output.docx"));

plugin.Process(options);

Convert PDF to Excel (.xlsx)

var plugin = new XlsConverter();
var options = new PdfToXlsOptions();
options.Format = PdfToXlsOptions.ExcelFormat.XLSX;
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new FileDataSource("result.xlsx"));

plugin.Process(options);

Convert PDF to Png (.png)

var plugin = new PngConverter();
var options = new PdfToPngOptions();
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new DirectoryDataSource(dataDir + "results")));

plugin.Process(options);

Convert PDF to JPEG (.jpeg)

var plugin = new JpegConverter();
var options = new PdfToJpegOptions();
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new DirectoryDataSource(dataDir + "results")));

plugin.Process(options);

Convert PDF to TIFF (.tiff)

var plugin = new TiffConverter();
var options = new PdfToTiffOptions();
options.AddInput(new FileDataSource(dataDir + "sample.pdf"));
options.AddOutput(new DirectoryDataSource(dataDir + "results")));

plugin.Process(options);

For more examples, visit our GitHub Examples page.


Product Page Docs API Ref Examples Blog Releases Support License FAQs

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
25.1.0 51 1/24/2025
24.12.0 176 12/27/2024
24.11.0 182 12/20/2024