PdfObjectExtractionOptions.FlattenXObjects Property

Gets or sets a value indicating how to process form XObjects.

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

Syntax

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

Property Value

Type: Boolean
true to return objects from XObjects as regular page objects. false to return PdfPaintedXObject objects for form XObjects.

Remarks

Default value: false.

Setting this option to false allows to properly handle documents with transparency groups.

Flattening of form XObjects is useful for backward compatibility. You can also use it if you do not worry about transparency.

See Also