ShapeCollection
ShapeCollection class
形状集合.
public class ShapeCollection : Collection
特性
| 姓名 | 描述 |
|---|---|
| Count { get; } | 获取集合中实际包含的元素个数。 |
| Item { get; } | 获取指定索引处的元素。 |
方法
| 姓名 | 描述 |
|---|---|
| Add(Shape) | 在集合中添加形状。 |
| Clear() | 从集合中删除所有元素。 |
| GetEnumerator() | 支持对非泛型集合的简单迭代。 |
| GetShape(long) | 获取指定ID处的元素。 |
| GetShape(string) | 获取指定名称的元素。 |
| GetShapeIncludingChild(int) | 获取元素,包括它在指定 id 的子形状。 |
| GetShapeIncludingChild(string) | 获取包含指定名称的子形状的元素。 |
| Group(Shape[]) | 对形状进行分组。 |
| IsExist(int) | 是集合中存在的项目。 |
| Remove(Shape) | 从集合中删除形状。 |
| RemoveDependsOn(Shape) | 从集合中删除包括 DEPENDSON 形状在内的形状。 |
| UnGroup(Shape) | 取消组合形状。 |
也可以看看
- class Collection
- 命名空间 Aspose.Diagram
- 部件 Aspose.Diagram