Class GraphicElementCollection
GraphicElementCollection 类
表示 GraphicElement
集合。
public sealed class GraphicElementCollection : ICollection<GraphicElement>
构造函数
名称 | 描述 |
---|---|
GraphicElementCollection() | 初始化新的集合。 |
属性
名称 | 描述 |
---|---|
Count { get; } | 获取集合中实际包含的 GraphicElement 对象元素的数量。 |
Item { get; } | 获取指定索引处的 GraphicElement 元素。 |
方法
名称 | 描述 |
---|---|
Add(GraphicElement) | 向集合中添加一个新的 GraphicElement 。集合中的所有项必须具有相同的 Parent 。 |
Clear() | 清除集合。 |
Contains(GraphicElement) | 确定集合中是否包含某个元素。 |
CopyTo(GraphicElement[], int) | 将整个集合复制到一个兼容的一维数组,从目标数组的指定索引开始。 |
GetEnumerator() | 返回整个集合的枚举器。 |
Remove(GraphicElement) | 删除 GraphicElement 元素。 |
override ToString() | 获取此集合的字符串表示。 |
另见
- 类 GraphicElement
- 命名空间 Aspose.Pdf.Vector
- 程序集 Aspose.PDF