THotPDF.AddPDFVTNode Method

Declares one node of the PDF/VT document part hierarchy, optionally with its document part metadata, and returns the handle the deeper nodes and the page ranges refer to

Declaration

function AddPDFVTNode(ParentNode: Integer;
  DPM: THPDFDictionaryObject): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
ParentNode-1 for the root of the hierarchy, or the handle an earlier call returned for the immediate ancestor
DPMThe §6.6 document part metadata dictionary, or nil when the node carries none

Return value

The node handle, for use as the ParentNode of a deeper node or as the Node argument of SetPDFVTNodePages

Usage notes

Related APIs