Collect
Collect 类
表示一组旨在从 Presentation 收集不同类型模型对象的方法。
public static class Collect
方法
| 名称 | 描述 |
|---|---|
| static Shapes(Presentation) | 在 Presentation 中收集所有 Shape 实例。 |
示例
using (Presentation pres = new Presentation("pres.pptx"))
{
foreach (Shape shape in Collect.Shapes(pres))
{
// ... 更改形状格式或其他属性
}
}
另见
- 命名空间 Aspose.Slides.LowCode
- 程序集 Aspose.Slides