MasterSlide
ForEach.MasterSlide method
Iterate each MasterSlide
in the Presentation
.
public static void MasterSlide(Presentation pres, ForEachMasterSlideCallback forEachMasterSlide)
Parameter | Type | Description |
---|---|---|
pres | Presentation | Presentation to iterate master slides |
forEachMasterSlide | ForEachMasterSlideCallback | Callback that will be invoked for each master slide |
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
ForEach.MasterSlide(pres, (slide, index) =>
{
slide.Name = $"MasterSlide #{index}";
});
}
See Also
- class Presentation
- delegate ForEachMasterSlideCallback
- class ForEach
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides