com.aspose.slides
Interface ISmartArtNodeCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<ISmartArtNode>, IGenericCollection<ISmartArtNode>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISmartArtNode>, java.lang.Iterable<ISmartArtNode>
All Known Implementing Classes:
SmartArtNodeCollection

public interface ISmartArtNodeCollection
extends IGenericCollection<ISmartArtNode>

Represents a collection of a SmartArt nodes.


Method Summary
 ISmartArtNode addNode()
           Add new node or sub node.
 ISmartArtNode addNodeByPosition(int position)
           Add new node in the selected position of nodes collection.
 ISmartArtNode get_Item(int index)
           Returns node by index.
 ISmartArtNode getNodeByPosition(int position)
          Deprecated. 
 void removeNode(int index)
           Remove node or sub node by index.
 void removeNode(ISmartArtNode nodeObj)
           Remove node or sub node.
 boolean removeNodeByPosition(int position)
          Deprecated. 
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

ISmartArtNode get_Item(int index)

Returns node by index. Read-only ISmartArtNode

Parameters:
index - The zero-based index of the element.

getNodeByPosition

@Deprecated
ISmartArtNode getNodeByPosition(int position)
Deprecated. 

Get node by position between siblings.

Parameters:
position - Zero-based position.
Returns:
First matched node, -or- null if node with this position does not exist.

addNode

ISmartArtNode addNode()

Add new node or sub node.

Returns:
Added node

removeNode

void removeNode(int index)

Remove node or sub node by index.

Parameters:
index - Zero-based index of node
Throws:
com.aspose.ms.System.ArgumentOutOfRangeException - index is less than 0. -or- index is equal to or greater than siblings count.

removeNode

void removeNode(ISmartArtNode nodeObj)

Remove node or sub node.

Parameters:
nodeObj - Node to remove.

removeNodeByPosition

@Deprecated
boolean removeNodeByPosition(int position)
Deprecated. 

Remove node from selected position.

Parameters:
position - Zero-based position.
Returns:
True if removed successfully, otherwise false.

addNodeByPosition

ISmartArtNode addNodeByPosition(int position)

Add new node in the selected position of nodes collection.

Parameters:
position - Zero-base node position.
Returns:
Added node
Throws:
com.aspose.ms.System.ArgumentOutOfRangeException - position is less than 0.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.