THotPDF.AddStructureElementNS Method
Creates an indirect structure element with an explicit PDF 2.0 namespace reference and attaches it to the requested parent
Declaration
function AddStructureElementNS(const Role, NamespaceURI: AnsiString;
Parent: THPDFDictionaryObject; PageIndex: Integer = -1;
MCID: Integer = -1): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
Roleis the role name inside the selected namespaceNamespaceURIis a non-empty namespace URI registered in the structure rootParent,PageIndexandMCIDfollowAddStructureElementsemantics
Usage notes
The method requires PDF 2.0 and, under PDFUACompliance, requires PDFUAPart=2
Repeated use of the same URI reuses one namespace dictionary