Collect
Collect class
表示一组旨在从 Presentation 收集不同类型的模型对象的方法。
public static class Collect
Methods
| Name | Description |
|---|---|
| static Shapes(Presentation) | 收集 Presentation 中的所有 Shape 实例。 |
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
foreach (Shape shape in Collect.Shapes(pres))
{
// ... 修改形状格式或其他属性
}
}
See Also
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides