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