aspose.diagram
Class ControlCollection

Control collection.

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 the Control object in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functiongetControl(IX)
           Gets the element at the specified index IX.
functiongetControlFromId(ID)
           Gets the element at the specified ID.
functiongetControlFromName(name)
           Gets the element at the specified name.
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 the Control object from the collection.
 

Property Getters/Setters Detail

getCount : Number 

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

get : Control 

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

Method Detail

add

function add(item)
Add the Control object in the collection.
Returns:

remove

function remove(item)
Remove the Control object from the collection.

getControl

function getControl(IX)
Gets the element at the specified index IX.
Parameters:
IX: Number -
Returns:

getControlFromId

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

getControlFromName

function getControlFromName(name)
Gets the element at the specified name.
Parameters:
name: String -
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.