THotPDF.AddStructRoleMapNS Method
Adds struct role map ns 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 AddStructRoleMapNS(const SourceRole, SourceNamespaceURI, TargetRole, TargetNamespaceURI: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SourceRole | Input used by AddStructRoleMapNS |
SourceNamespaceURI | External target address stored in the PDF action or link annotation |
TargetRole | Input used by AddStructRoleMapNS |
TargetNamespaceURI | 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