ISmartArtNodeCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface ISmartArtNodeCollection extends IGenericCollection<ISmartArtNode>

Represents a collection of SmartArt nodes.

Methods

MethodDescription
get_Item(int index)Returns node by index.
addNode()Add new node or sub node.
removeNode(int index)Remove node or sub node by index.
removeNode(ISmartArtNode nodeObj)Remove node or sub node.
addNodeByPosition(int position)Add new node in the selected position of nodes collection.

get_Item(int index)

public abstract ISmartArtNode get_Item(int index)

Returns node by index. Read-only ISmartArtNode

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the element.

Returns: ISmartArtNode

addNode()

public abstract ISmartArtNode addNode()

Add new node or sub node.

Returns: ISmartArtNode - Added node

removeNode(int index)

public abstract void removeNode(int index)

Remove node or sub node by index.

Parameters:

ParameterTypeDescription
indexintZero-based index of node

removeNode(ISmartArtNode nodeObj)

public abstract void removeNode(ISmartArtNode nodeObj)

Remove node or sub node.

Parameters:

ParameterTypeDescription
nodeObjISmartArtNodeNode to remove.

addNodeByPosition(int position)

public abstract ISmartArtNode addNodeByPosition(int position)

Add new node in the selected position of nodes collection.

Parameters:

ParameterTypeDescription
positionintZero-base node position.

Returns: ISmartArtNode - Added node