class
ColorEntryCollection
Source: aspose.
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.
Methods
add(color) → Number
Add the Color object in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
color |
|
- Returns
-
Number
clear()
Removes all elements from collection.
get(index) → ColorEntry
Gets the element at the specified index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
- Returns
getCount()
Gets the number of elements actually contained in the collection.
isExist(index) → boolean
Is exist item in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
index of element. |
- Returns
-
boolean
iterator() → Iterator
Supports a simple iteration over a nongeneric collection.
- Returns
-
Iterator
remove(color)
Remove the Color object from the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
color |
|