level Parameter

Specifies the level of the current element.

Scope: Element

Syntax

query level 

Description

The level parameter displays the structural level of the current element and is set by the format parameter. It can be negative if relative (before and after) settings are used such that the indent is less than the current level.

Examples

To obtain the level of the current element, type:

query level 

API Return Code

-12 
This command requires an open document. First open a document then issue the command.

format Parameter