THotPDF.SetStructureAttributeNumber Method
Sets structure attribute number 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 SetStructureAttributeNumber(Elem: THPDFDictionaryObject; const Owner, AttributeName: AnsiString; Value: Integer; const NamespaceURI: AnsiString= '');
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Elem | Input used by SetStructureAttributeNumber |
Owner | Input used by SetStructureAttributeNumber |
AttributeName | PDF resource name, packet name, profile name, or caller-defined identifier |
Value | Input used by SetStructureAttributeNumber |
NamespaceURI | External target address stored in the PDF action or link annotation |
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 finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Keep begin and end calls balanced, provide alternate text for non-text content, and attach MCID values to the right page content