THotPDF.AddStructRoleMap Method
Adds struct role map data to the Tagged PDF accessibility workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
procedure AddStructRoleMap(const SourceRole: AnsiString; const TargetRole: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SourceRole | Input used by AddStructRoleMap |
TargetRole | Input used by AddStructRoleMap |
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