Property RemoveUnusedObjects
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
RemoveUnusedObjects
Gets or sets a value indicating whether to remove all unused (unreferenced) objects from PDF before saving.
public bool RemoveUnusedObjects { get; set; }
Property Value
- bool
trueif library should remove unused objects; otherwise,false.
Remarks
Default value: true.
Setting this property to true helps to produce
smaller output files.
When saving a file incrementally (when WriteIncrementally is true),
this property only affects the increment. There won't be any changes to the part with
the original file contents.