THotPDF.PDFVTNodeChildCount

Unit: HPDFDoc

Declaration

function PDFVTNodeChildCount(Node: Integer): Integer;

Behaviour

Returns how many declared nodes name the given node handle as their parent, where the root handle comes from AddPDFVTNode

ISO 16612-2:2010 §6.5 Table 4 makes /DParts and /Start mutually exclusive, so SetPDFVTNodePages refuses a page range for a node whose child count is above zero and only leaf nodes reference pages

Related APIs

THotPDF.AddPDFVTNode, THotPDF.PDFVTCompliance and THotPDF.SetPDFVTNodeNames