aspose.diagram
Class StyleSheetCollection

Collection of StyleSheets.

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(item)
           Add StyleSheet in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functiongetStyleSheet(ID)
           Gets the element at the specified ID.
functionisExist(index)→ inherited from Collection
           Is exist item in the collection.
functioniterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
functionremove(item)
           Remove StyleSheet from the collection.
 

Property Getters/Setters Detail

getCount : Number 

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

get : StyleSheet 

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

Method Detail

add

function add(item)
Add StyleSheet in the collection.
Parameters:
item: StyleSheet -
Returns:

remove

function remove(item)
Remove StyleSheet from the collection.
Parameters:
item: StyleSheet -

getStyleSheet

function getStyleSheet(ID)
Gets the element at the specified ID.
Parameters:
ID: Number -
Returns:

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.