Optimize resources in the document: 1. Resources which are not used on the document pages are removed; 2. Equal resources are joined into one object; 3. Unused objects are deleted.
public void OptimizeResources()
Optimize resources in the document according to defined optimization strategy.
public void OptimizeResources(OptimizationOptions strategy)