2022.2

Table Of Contents
In an Active Script environment, such as the Run Script task, the return value is a numerical value.
However, in environments where the TNodeType type is defined, the node types are ntJob, ntGroup,
ntDocument, ntDatapage, and ntPage.
Parent
Not available in MetaPage
Returns the parent node of the current node.
Selected
Not available in MetaPage
Indicates whether or not the node is set to be printed (see "Including or excluding nodes from the out-
put" on page173). If a node has its Selected property set to true, all of its child that also have their own
Selected property set to true will print. If Selected is false, its child will not print, regardless of their
Selected status.
(reading) Returns:
True if the node is selected, false otherwise.
(writing) Parameters:
Select True to mark as selected to be printed, false if it is not to be printed.
SelectedCount
Not available in MetaPage
Returns the number of child nodes in the current node that are set to be output, meaning that they have
their Selected property set to true, taking the parents into account.
Returns:
The number (integer) of child nodes that will be included in the output. If the current node and all of its
parents have their Selected property set to true, this amounts to the number of child nodes that are
selected. If any parent is not selected, returns 0.
SelectedState
Indicates whether the node is selected or not, taking its parents into account.
Returns:
Returns an integer indicating the selected state of the node. If the node and all of its parents are selec-
ted, the method returns ssTrue (2). If the node is selected but one of its parents is not, the return value
is ssDisabled (1). If the node is not selected, the return value is ssFalse (0).
Return value State
0 False: The node is not selected.
Page 175