Table of Contents

Method GetObjects

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetObjects()

Retrieves collection of all objects drawn on the page.

public PdfCollection<PdfPageObject> GetObjects()

Returns

PdfCollection<PdfPageObject>

Collection of all objects drawn on the page.

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 page. Look at the Copy text, paths and images sample for more detail.

You can check the following conditions to detect whether an extracted page object is visible on the page:

GetObjects(PdfObjectExtractionOptions)

Retrieves collection of all objects drawn on the page.

public PdfCollection<PdfPageObject> GetObjects(PdfObjectExtractionOptions options)

Parameters

options PdfObjectExtractionOptions

The object extraction options.

Returns

PdfCollection<PdfPageObject>

Collection of all objects drawn on the page.

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 page. Look at the Copy text, paths and images sample for more detail.

You can check the following conditions to detect whether an extracted page object is visible on the page: