com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ISmartArtNodeCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      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.
      void removeNode(int index)
      Remove node or sub node by index.
      void removeNode(ISmartArtNode nodeObj)
      Remove node or sub node.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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.
      • 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.
      • 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.