class
StyleSheetCollection
Source: aspose.
Collection of StyleSheets.
Methods
add(item) → Number
Add StyleSheet in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
item |
|
- Returns
-
Number
clear()
Removes all elements from collection.
get(index) → StyleSheet
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.
getStyleSheet(ID) → StyleSheet
Gets the element at the specified ID.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
ID |
Number |
|
- Returns
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(item)
Remove StyleSheet from the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
item |
|