CMarkup GetNodeType Method

int CMarkup::GetNodeType() const;

This method returns the node type of the current main position node. If there is no main position, it returns 0. Since FindNode returns the node type, GetNodeType is mainly useful if you need to determine the node type of the current main position at a later time. See the FindNode section for the list of node types.

See the Node Methods in CMarkup.