PdfSaveOptions.OptimizeIndirectObjects Property

Gets or sets a value indicating whether to optimize (inline) indirect objects from PDF before saving.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public bool OptimizeIndirectObjects { get; set; }
VB
Public Property OptimizeIndirectObjects As Boolean
	Get
	Set

Property Value

Type: Boolean
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.

See Also