asposediagram.api

Class TextCollection

Contains the text of a shape. Each item is text with character, paragraph and tabs properties.

Property Getters/Setters Summary
methodgetCount()
Gets the number of elements actually contained in the collection.
methodget(index)
Gets the element at the specified index.
 
Method Summary
methodadd(item)
Add the Text object in the collection.
methodclear()
Removes all elements from collection.
methodisExist(index)
Is exist item in the collection.
methoditerator()
Supports a simple iteration over a nongeneric collection.
methodremove(item)
Remove the Text object from the collection.
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get : Text 

        Text get(index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        int add(item)
        Add the Text object in the collection.
        Parameters:
        item: Text -
        Returns:
      • remove

         remove(item)
        Remove the Text object from the collection.
        Parameters:
        item: Text -
      • iterator

        Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        boolean isExist(index)
        Is exist item in the collection.
        Parameters:
        index: int - index of element.
        Returns:
      • clear

         clear()
        Removes all elements from collection.