Skip to main content
Skip table of contents

Installing iText pdfOptimizer for .NET developers

How to install pdfOptimizer .NET version

Thank you for your interest in our optimizer add-on - pdfOptimizer, we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText pdfOptimizer to adding the dependency to your .NET build tool.

If you require any extra help please have a look at our FAQs or the community discussion at StackOverflow.

Before you install

  • Make sure you have purchased a commercial license of iText Core and pdfOptimizer. All downloads we offer closed-source come with our commercial license model.

  • Check the compatibility matrix to ensure the version you specify when adding the add-on's dependency matches the version of iText Core you have a license for.

  • Download and install the proper license key library, you can find the installation guide here (you will need at least version 3.1.1 of the library).

  • Install iText Core or Community, you can find the installation guide here.

  • Important remark: in the installation guide we use NuGet as a build tool for .NET.

Installation

Automated dependency management

iText pdfOptimizer is available via NuGet. Simply add iText pdfOptimizer by typing the following command in the NuGet Package manager: Install-Package itext.pdfoptimizer

Using the iText Artifactory Server

iText pdfOptimizer NuGet packages are also available on the iText Artifactory server. You can add it as a custom NuGet repository to Visual Studio. In the NuGet Package Manager, go to the settings and add the following URL as a package source: https://repo.itextsupport.com/api/nuget/nuget. You can also browse the iText Artifactory server and download NuGet packages manually.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.