Method RemoveUnusedResources
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
RemoveUnusedResources()
Removes references to resources such as fonts, xobjects, images, patterns.
public void RemoveUnusedResources()
Remarks
This method helps to reduce file size in cases when document contains pages or XObjects with unused resources.
We recommend using this method after you removed pages from the PDF. Check the examples in the Split PDF documents in C# and VB.NET article.