THotPDF.SetStructureElementLanguage Method
Sets structure element language 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 SetStructureElementLanguage(Elem: THPDFDictionaryObject; const Lang: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Elem | Input used by SetStructureElementLanguage |
Lang | Input used by SetStructureElementLanguage |
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