RemoveUnusedObjects

OptimizationOptions.RemoveUnusedObjects property

If this flag is set to true, all document objects will be checked and unused objects (i.e. objects which does not have any reference) are removed from document.

public bool RemoveUnusedObjects { get; set; }

See Also