SmartArtNodeCollection

SmartArtNodeCollection class

Represents a collection of SmartArt nodes.

addNode

NameDescription
addNode ()Add new smart art node or sub node.

Returns: SmartArtNode


addNodeByPosition

NameDescription
addNodeByPosition (int)Add new node in the selected position of nodes collection

Parameters:

NameTypeDescription
positionintZero-base node position

Returns: SmartArtNode

Exception

ErrorCondition
ArgumentOutOfRangeExceptionposition is less than 0

getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Returns node by index

Parameters:

NameTypeDescription
indexintThe zero-based index of the element

Returns: SmartArtNode


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


removeNode

NameDescription
removeNode (int)Remove node or sub node by index

Parameters:

NameTypeDescription
indexintZero-based index of node

Returns: void

Exception

ErrorCondition
ArgumentOutOfRangeExceptionindex is less than 0. -or- index is equal to or greater than siblings count

removeNode

NameDescription
removeNode (SmartArtNode)Remove node or sub node

Parameters:

NameTypeDescription
nodeSmartArtNodeNode to remove

Returns: void


size

NameDescription
size ()Returns count of nodes in collection Read-only int Read-only int.

Returns: int