Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Compress PDF document in .NET

This sample shows how to optimize size of an existing PDF document using Docotic.Pdf.

NOTE: To get proper results please use this sample code with a license key. You can get a free license key here:

Docotic.Pdf supports different compression methods. You can use all of them to get the best compression ratio:

  1. recompress images (if any)
  2. setup save options
  3. remove structure information
  4. flatten form fields
  5. remove metadata
  6. unembed fonts
You can’t perform that action at this time.