removeNode

removeNode(int index) function

Remove node or sub node by index

Parameters

NameTypeDescription
indexintZero-based index of node

Error

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

removeNode(SmartArtNode node) function

Remove node or sub node

Parameters

NameTypeDescription
nodeSmartArtNodeNode to remove