aspose.diagram
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
functiongetCount()
           Gets the number of elements actually contained in the collection.
functionget(index)
           Gets the element at the specified index.
 
Method Summary
functionadd(color)
           Add the Color object in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functionisExist(index)→ inherited from Collection
           Is exist item in the collection.
functioniterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
functionremove(color)
           Remove the Color object from the collection.
 

Property Getters/Setters Detail

getCount : Number 

function getCount()
Gets the number of elements actually contained in the collection.

get : ColorEntry 

function get(index)
Gets the element at the specified index.
Parameters:
index -
Returns:

Method Detail

add

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

remove

function remove(color)
Remove the Color object from the collection.
Parameters:
color: ColorEntry -

iterator

function iterator()
Supports a simple iteration over a nongeneric collection.
Returns:

isExist

function isExist(index)
Is exist item in the collection.
Parameters:
index: Number - index of element.
Returns:

clear

function clear()
Removes all elements from collection.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.