This sample shows how to reduce PDF file size by removing structure information from it.
The Compress PDF documents in C# and VB.NET article contains additional information.
Docotic.Pdf library provides the PdfDocument.RemoveStructureInformation method for removing structure information from a PDF. The method can significantly reduce output file size.
NOTE: The document without structure information will be less accessible for assistive devices.
This sample shows only one way to reduce the size of a PDF. Check the Compress PDF documents in C# and VB.NET sample code to see more ways.