RemoveAt
MasterSlideCollection.RemoveAt method
移除集合指定索引处的元素。
public void RemoveAt(int index)
范围 | 类型 | 描述 |
---|---|---|
index | Int32 | 要删除的元素的从零开始的索引。 |
例外
例外 | (健康)状况 |
---|---|
PptxEditException | 如果在演示中使用要删除的主对象(其 HasDependingSlides 属性为 true),则抛出该异常。 |
评论
为避免抛出 PptxEditException,请先检查 master 的 HasDependingSlides 属性。
也可以看看
- class MasterSlideCollection
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides