Method GetObjects
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetObjects()
Retrieves collection of all objects drawn on this XObject.
public PdfCollection<PdfPageObject> GetObjects()
Returns
- PdfCollection<PdfPageObject>
Collection of all objects drawn on this XObject.
Remarks
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.
GetObjects(PdfObjectExtractionOptions)
Retrieves collection of all objects drawn on this XObject.
public PdfCollection<PdfPageObject> GetObjects(PdfObjectExtractionOptions options)
Parameters
options
PdfObjectExtractionOptionsThe object extraction options.
Returns
- PdfCollection<PdfPageObject>
Collection of all objects drawn on this XObject.
Remarks
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.