TreeDepth - the number of levels in the tree structure, by the longest way down
Source position: avglvltree.pas line 48
public function TAvgLvlTreeNode.TreeDepth: Integer;