PdfXObject.GetObjects Method (PdfObjectExtractionOptions)

Retrieves collection of all objects drawn on this XObject.

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


public PdfCollection<PdfPageObject> GetObjects(
	PdfObjectExtractionOptions options
Public Function GetObjects ( 
	options As PdfObjectExtractionOptions
) As PdfCollection(Of PdfPageObject)


Type: BitMiracle.Docotic.Pdf.PdfObjectExtractionOptions
The object extraction options.

Return Value

Type: PdfCollection<PdfPageObject>
Collection of all objects drawn on this XObject.


The collection is ordered. Each subsequent object in the collection is drawn after the previous one.

This method is useful if you want to analyze or modify contents of the XObject. Look at the Copy text, paths and images sample for more detail.

This method returns objects in XObject coordinate system. They are not related to any PDF page.

Page property returns null for images extracted using this method.

See Also