THotPDF.GetLoadedNameTreeRootCount Method
Returns the number of root name-value pairs in the selected loaded document name tree
Declaration
function GetLoadedNameTreeRootCount(TreeType: THPDFNameTreeType): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
TreeType | Loaded document name-tree category to inspect |
Return value
Returns the number of name-value pairs at the selected name-tree root
Usage notes
- The count covers only the selected root Names array
- Missing or unsupported name trees return zero