ISmartArtNodeCollection
All Implemented Interfaces: com.aspose.slides.IGenericCollection
public interface ISmartArtNodeCollection extends IGenericCollection<ISmartArtNode>
Represents a collection of SmartArt nodes.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| index | int | The 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:
| Parameter | Type | Description |
|---|---|---|
| index | int | Zero-based index of node |
removeNode(ISmartArtNode nodeObj)
public abstract void removeNode(ISmartArtNode nodeObj)
Remove node or sub node.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| nodeObj | ISmartArtNode | Node to remove. |
addNodeByPosition(int position)
public abstract ISmartArtNode addNodeByPosition(int position)
Add new node in the selected position of nodes collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| position | int | Zero-base node position. |
Returns: ISmartArtNode - Added node