asposediagram.api

Class ColorEntryCollection

Contains the document's color table. Each document contains a single color table, which lists the 24 standard colors that are available for application to objects such as shapes, text, and layers in the document.

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(color)
Add the Color 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(color)
Remove the Color object from the collection.
 

    • Property Getters/Setters Detail

      • getCount : int 

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

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

      • add

        int add(color)
        Add the Color object in the collection.
        Parameters:
        color: ColorEntry -
        Returns:
      • remove

         remove(color)
        Remove the Color object from the collection.
        Parameters:
        color: ColorEntry -
      • 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.