TreeItem

Ancestor type: CObject

This type of object represents one item in treeview. One item in tree usually corespond to one object in PDF document

Select or unselect this item (true to select, false to unselect)
Check if this item is selected Return true if the item is selected, false if not
Check if the tree item wrapper is valid, i.e. if corresponding tree item still exist in the tree view. Using most of invalid wrapper's functions will result in exception Return true if valid, false if not
Set the item to be opened or closed. Specify true if the item is to be opened, false if closed.
Get object contained in this tree item
Get object inside this tree item, as item() does, but with one exception: If the object is reference, return reference target instead of the reference
Get type of object contained in this tree item (shortcut for .item().type())
Return child of this tree item with given name, or NULL if this item have no child with such name
Get names of all visible childs items of this treeitem Childs that are not shown in tree (because of treeview settings, etc ...) are not returned. Childs that are "not yet known" (unopened references) are not returned too.
Return parent of this tree item, or NULL if this item have no parent
Return name of this tree item
Return caption of this tree item (sometimes can differ from name)
Return path of this tree item (sequence of names from root item to this item, separated by slashes: "/" )
Explicitly reload contents of this item and its subtree from current state of PDF document
Remove object in this tree item (and also any possible subitems) from document