PdfPage.GetObjects Method

Retrieves collection of all objects drawn on the page.

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


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

Return Value

Type: PdfCollection<PdfPageObject>
Collection of all objects drawn on the page.


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