StructTreeElement
Overview
StructTreeElement is a class in Aspose.PDF FOSS for .NET.
Read-only view of a single structure element in a tagged document’s structure tree: its role, accessibility text, attributes, marked-content references, and child elements.
Properties: ActualText, AltText, Attributes, Children, Language, MarkedContentIds, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
StructureType | string? | Read | The structure type / role (/S), e.g. |
Title | string? | Read | The element title (/T), or null when none is set. |
Language | string? | Read | The element language (/Lang), or null when none is set. |
ActualText | string? | Read | The replacement text (/ActualText), or null when none is set. |
AltText | string? | Read | The alternate description (/Alt) used by assistive technology, or null when none is set. |
Attributes | IReadOnlyDictionary<string, string>? | Read | The structure attributes (/A) as a string-valued map, or null when the element has no attributes. |
MarkedContentIds | IReadOnlyList<int> | Read | The marked-content identifiers (MCIDs) referenced by this element’s /K entry, connecting it to marked-content sequences in the page content streams. |
Children | IReadOnlyList<StructTreeElement> | Read | Child structure elements (read-only). |