RemoveUnusedObjects
PdfOptimizationOptions.RemoveUnusedObjects property
Removes unused (orphaned) objects from a PDF file, which are placed in the PDF document, but are not referenced from resource dictionaries of any page and thus are not used at all. Activating this property (true
) will decrease the output PDF document size. By default is disabled (false
).
public bool RemoveUnusedObjects { get; set; }
See Also
- class PdfOptimizationOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer