RemoveUnusedStreams

PdfOptimizationOptions.RemoveUnusedStreams property

Removes unused (orphaned) streams from a PDF file, which are still referenced from the resource dictionary of the page, but actually are never used in the page contents. By default is disabled (false), its enabling (true) will decrease the output PDF document size.

public bool RemoveUnusedStreams { get; set; }

See Also