asposediagram.api

Class FormatTxtCollection

FormatTxt collection which contains the text of a shape.

Property Getters/Setters Summary
methodgetCount()
Gets the number of elements actually contained in the collection.
methodgetText()
Contains the text of a shape with formating.
methodget(index)
Gets the element at the specified index.
 
Method Summary
methodadd(item)
Add the FormatTxt 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 FormatTxt object from the collection.
methodsetWholeText(text)
Set the text of a shape without formating.
 

    • Property Getters/Setters Detail

      • getText : String 

        String getText()
        
        Contains the text of a shape with formating.
      • getCount : int 

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

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

      • add

        int add(item)
        Add the FormatTxt object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the FormatTxt object from the collection.
      • setWholeText

         setWholeText(text)
        Set the text of a shape without formating.
        Parameters:
        text: String -
      • 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.