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