public interface IControlCollection extends IGenericCollection<IControl>
A collection of ActiveX controls.
Modifier and Type | Method and Description |
---|---|
IControl |
addControl(int controlType,
float x,
float y,
float width,
float height)
Creates and adds a new control to the collection.
|
void |
clear()
Removes all controls from the collection.
|
IControl |
get_Item(int index)
Returns a control at the specified position.
|
void |
remove(IControl item)
Removes an ActiveX control from the collection.
|
void |
removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
|
iterator
void remove(IControl item)
Removes an ActiveX control from the collection.
item
- A control to remove.void removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
index
- Index of a control to remove.void clear()
Removes all controls from the collection.
IControl get_Item(int index)
Returns a control at the specified position.
index
- Index of a control.IControl addControl(int controlType, float x, float y, float width, float height)
Creates and adds a new control to the collection.