MasterSlide
ForEach.MasterSlide method
迭代每个MasterSlide
在Presentation
中。
public static void MasterSlide(Presentation pres, ForEachMasterSlideCallback forEachMasterSlide)
范围 | 类型 | 描述 |
---|---|---|
pres | Presentation | 演示以迭代母版幻灯片 |
forEachMasterSlide | ForEachMasterSlideCallback | 回调将为每个母版幻灯片调用 |
例子
using (Presentation pres = new Presentation("pres.pptx"))
{
ForEach.MasterSlide(pres, (slide, index) =>
{
slide.Name = $"MasterSlide #{index}";
});
}
也可以看看
- class Presentation
- delegate ForEachMasterSlideCallback
- class ForEach
- 命名空间 Aspose.Slides.LowCode
- 部件 Aspose.Slides