...
Code Block |
---|
int numSlides = pres.Slides.Count; |
6. Use the Slides.Delete method to delete the last slide. It takes an integer representing the index of the slide to delete as a parameter.
Code Block |
---|
int numSlides = pres.Slides.CountDelete(numSlides - 1); |
7.Save the final presentation and stream it in the response.
...