Other PDF Issues

How to Access PDF Tags and the Structure Tree via C# and Acrobat SDK

Kushani NimanthikaKushani Nimanthika Nov 3, 2026 869 views

Question details

The user wants to programmaticlly retrieve PDF tags and access the tagged structure tree using C# and the Adobe Acrobat SDK.

How to Access PDF Tags and the Structure Tree in C#
Product
Adobe Acrobat SDK
Device & OS
not provided
Scenario
Developing an application to extract, navigate, or manipulate the internal logical structure and tags of a PDF document.
Observed behavior
The standard Acrobat Interapplication Communication (IAC) API in C# provides limited to no support for deep interaction with the PDF tag tree.
Before you start

Ensure you have the latest supported version of the Adobe Acrobat SDK installed and your development environment is set up for C++ development, as C# is inherently limited for this specific task.

Solution 1Recommended

Develop a C++ Acrobat Plug-in Using PDSEdit and PDFEdit Layers

Since the C# IAC API is too limited for comprehensive tag manipulation, creating a C++ plug-in is the required approach to access the PDF structure tree.

The Interapplication Communication (IAC) API available to C# developers does not expose the necessary endpoints to fully interact with PDF tags. To retrieve and manipulate the tagged structure tree, developers must transition to a C++ environment.

By utilizing the PDSEdit and PDFEdit layers within a C++ plug-in, you gain direct access to the PDF's internal tagging and logical structure mechanisms.

1
Download a Supported SDK

Obtain the most recent version of the Adobe Acrobat SDK. Avoid using obsolete versions like Acrobat XI to ensure compatibility and security.

2
Initialize a C++ Plug-in Project

Set up a new C++ Acrobat plug-in project in your IDE (such as Microsoft Visual Studio) configured with the SDK's header and library files.

3
Utilize the PDSEdit Layer

Call the PDSEdit API functions to traverse the logical structure of the document, locate the root of the tag tree, and iterate through the structural elements.

4
Access Content with PDFEdit

Combine the PDSEdit logic with the PDFEdit layer to read, extract, or safely modify the specific physical content associated with those tags.

Advanced PDF Knowledge Required: Working directly with PDSEdit and PDFEdit requires a detailed understanding of PDF internals and tagging mechanisms as defined in the official PDF specification.
Free Microsoft Office alternative

Edit and Manage PDFs Easily with WPS Office

While programmatic access to deep PDF structure tags requires complex C++ SDK development, everyday PDF viewing, editing, and management is simple with WPS Office. It provides a lightweight, highly compatible toolkit for handling your documents without the need for coding.

Fully compatible with standard PDF, Microsoft Word, Excel, and PowerPoint formatsLightweight application that runs smoothly on Windows, Mac, Linux, and mobile devicesBuilt-in robust PDF toolkit for editing text, merging, splitting, and adding annotationsFamiliar user interface for a seamless transition from other office suites
microsoft office alternative - wps office

Frequently Asked Questions

Can I access the full PDF structure tree using only C#?

No, the Acrobat Interapplication Communication (IAC) API available for C# has very limited support for PDF tagging. Comprehensive access to the tag tree requires using a C++ plug-in.

Are older SDK versions like Acrobat XI still viable for PDF tagging?

Acrobat XI is considered obsolete. It is highly recommended to use a currently supported version of the Adobe Acrobat SDK, even though the core PDSEdit API layers remain fundamentally similar.

What are PDSEdit and PDFEdit in the Acrobat SDK?

They are advanced C++ API layers within the SDK. PDSEdit is used for handling the logical structure and tags of a PDF document, while PDFEdit manages the physical content and objects rendered on the page.