StructTreeElement

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

NameTypeAccessDescription
StructureTypestring?ReadThe structure type / role (/S), e.g.
Titlestring?ReadThe element title (/T), or null when none is set.
Languagestring?ReadThe element language (/Lang), or null when none is set.
ActualTextstring?ReadThe replacement text (/ActualText), or null when none is set.
AltTextstring?ReadThe alternate description (/Alt) used by assistive technology, or null when none is set.
AttributesIReadOnlyDictionary<string, string>?ReadThe structure attributes (/A) as a string-valued map, or null when the element has no attributes.
MarkedContentIdsIReadOnlyList<int>ReadThe marked-content identifiers (MCIDs) referenced by this element’s /K entry, connecting it to marked-content sequences in the page content streams.
ChildrenIReadOnlyList<StructTreeElement>ReadChild structure elements (read-only).

See Also