THotPDF.SetStructureElementExpansionText Method
Sets structure element expansion text state for subsequent Tagged PDF accessibility output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetStructureElementExpansionText(Elem: THPDFDictionaryObject; const ExpansionText: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Elem | Input used by SetStructureElementExpansionText |
ExpansionText | Input used by SetStructureElementExpansionText |
Return value
This member does not return a value
Usage notes
- Use this API in the Tagged PDF accessibility workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Keep begin and end calls balanced, provide alternate text for non-text content, and attach MCID values to the right page content