TDOMNode.GetLevel function
Gets the level in the DOM tree for the DOM node.
Declaration
function GetLevel: SizeIntFunction result
Number of parent nodes found in the DOM node hierarchy.
Description
GetLevel is a
SizeInt function used to get the level
for the current node in the DOM node hierarchy. The return value is
determined by counting the number of
ParentNode assignments
starting with the current DOM node. A root-level node in a DOM document is at
level
0 (
zero).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
