How can I get the index position of a slide in the slides collection if I know either the position or have a reference to it?
More details...
I'm processing my slides in position order, using:
for (int slideIndex = 1; slideIndex<=outputPresentation.Slides.LastSlidePosition; slideIndex++)
{
slide = outputPresentation.GetSlideByPosition(slideIndex); // march through in order ...
...
}
And then I want to delete some of the slides (after processing them all)...
What I'm looking for is a way to delete the slide at (for example) position 7 and 3 (but how do I get their index so I can use outputPresentation.Slides.RemoveAt(index)?