Property OptimizeIndirectObjects
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
OptimizeIndirectObjects
Gets or sets a value indicating whether to optimize (inline) indirect objects from PDF before saving.
public bool OptimizeIndirectObjects { get; set; }
Property Value
- bool
true
if library should optimize indirect objects; otherwise,false
.
Remarks
Default value: true
.
Setting this property to true
helps to produce
smaller output files.
Optimization means that all indirect PDF objects that are not dictionaries and arrays will be converted to direct objects.
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.