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

Usage notes

The method requires PDF 2.0 and, under PDFUACompliance, requires PDFUAPart=2

Repeated use of the same URI reuses one namespace dictionary

Related APIs