Extract Tagged Content from Tagged PDFs

Getting Tagged PDF Content

In order to get content of PDF Document with Tagged Text, Aspose.PDF offers getTaggedContent() method of Document Class. Following code snippet shows how to get content of a PDF document with Tagged Text:

Getting Root Structure

In order to get the root structure of Tagged PDF Document, Aspose.PDF offers getStructTreeRootElement() and getStructureElement() methods of ITaggedContent Interface. Following code snippet shows how to get the root structure of Tagged PDF Document:

Accessing Children Elements

In order to access children elements of a Tagged PDF Document, Aspose.PDF offers ElementList Class. Following code snippet shows how to access children elements of a Tagged PDF Document: