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 supplied to AddStructRoleMapNS |
SourceNamespaceURI | External target address stored in the PDF action or link annotation |
TargetRole | Input supplied to AddStructRoleMapNS |
TargetNamespaceURI | 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 catalog object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised