PdfPage.GetObjects Method (PdfObjectExtractionOptions)

Retrieves collection of all objects drawn on the page.

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

Syntax

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

Parameters

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

Return Value

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

See Also