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 supplied to SetStructureAttributeNumber |
Owner | Input supplied to SetStructureAttributeNumber |
AttributeName | PDF resource name, packet name, profile name or caller-defined identifier |
Value | Input supplied to SetStructureAttributeNumber |
NamespaceURI | External target address stored in the PDF action or link annotation |
Return value
This member returns no value
Usage notes
- Use this API in the Tagged PDF accessibility workflow before the affected page, resource, field or catalogue 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