class
ControlCollection
Source: aspose.
Control collection.
Methods
add() → Number
Add the Control object in the collection.
- Returns
-
Number
clear()
Removes all elements from collection.
get(index) → Control
Gets the element at the specified index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
- Returns
getControl(IX) → Control
Gets the element at the specified index IX.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
IX |
Number |
|
- Returns
getControlFromId(ID) → Control
Gets the element at the specified ID.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
ID |
Number |
|
- Returns
getControlFromName(name) → Control
Gets the element at the specified name.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
- 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()
Remove the Control object from the collection.