ControlCollection
ControlCollection class
一组 ActiveX 控件。
public class ControlCollection : IControlCollection
Properties
Name | Description |
---|---|
Count { get; } | 返回集合中对象的数量。只读 Int32。 |
IsSynchronized { get; } | 返回一个值,指示对集合的访问是否是同步的(线程安全)。只读 Boolean。 |
Item { get; } | 返回指定位置的控件。 |
SyncRoot { get; } | 返回一个同步根。只读 Object。 |
Methods
Name | Description |
---|---|
AddControl(ControlType, float, float, float, float) | 创建并添加一个新的控件到集合中。 |
Clear() | 从集合中移除所有控件。 |
CopyTo(Array, int) | 将整个集合复制到指定的数组。 |
GetEnumerator() | 返回一个迭代器,用于迭代集合。 |
Remove(IControl) | 从集合中移除一个 ActiveX 控件。 |
RemoveAt(int) | 从集合中移除存储在指定位置的 ActiveX 控件。 |
See Also
- interface IControlCollection
- namespace Aspose.Slides
- assembly Aspose.Slides