2020.2

Table Of Contents
Selected property set to true will print.
If Selected is false, its children will not print, regardless of their Selected status.
Methods like Count, Index or PageCount work on all nodes, regardless of their Selected
attributes.
Methods whose names start with "Selected" however are meant to work with selected nodes. In
other words, "Selected..." methods only consider nodes that are set to be part of the output.
SelectedCount only considers child nodes that have their Selected property set to true, but also
checks if their parents also have their Selected property to true. It is therefore possible that a
node is selected but is not counted.
The SelectedState property can be used to verify the effective selection state of a node, i.e.
whether or not a node will be part of the output and, if not, whether it is because it is itself not
selected or one of its parents is not.
Attributes and Fields
In addition to being a collections of objects, a Metadata Node also contains two types of
elements, called "Attributes" on page228 and "Fields" on page230. These are name/value
pairs, where the name is case-insensitive.
l
An Attribute is a read-only, system-defined element which holds certain information
about a certain node in the Metadata structure. This information can be static (e.g. the size
of a physical page) or evaluated on-the-fly (e.g. the number of documents in a group).
Attributes are non-repetitive (i.e. name is unique) and do not persist through Metadata
recreation.
For an overview of Attributes and in which Node objects they are available, see the
"Metadata Attributes reference" on page82.
l
A Field is a read-write, user-defined element which holds custom information about a
certain node in the Metadata structure. Fields are repetitive (i.e. the same field may
appear multiple times) and persist through Metadata recreation.
They are each stored in a collection container object (a MetaAttributeCollection and a
MetaFieldCollection, respectively).
As is the case with Nodes, both collections share a number of methods and properties. The
Fields collection however has additional methods to support multiple entries with the same
name, which is forbidden with attributes.
Page 213