THotPDF.RegisterStructureNamespace Method

Registers or reuses an indirect namespace dictionary in StructTreeRoot /Namespaces

Declaration

function RegisterStructureNamespace(const NamespaceURI: AnsiString): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamespaceURI is the non-empty URI stored in the namespace dictionary /NS string

Return value

The indirect /Type /Namespace dictionary shared by matching URI registrations

Usage notes

The method requires PDF 2.0 and rejects a pre-existing structure-root /Namespaces entry that is not an array

Related APIs