I have an app that loops through some database query results, then adds slides to a Presentation object. It works fine until it gets to the eleventh slide. At that point, the app throws a System.ArgumentOutOfRangeException, with the additional information, "Specified argument was out of the range of valid values." The line of code that throws the error is:
- Code: Select all
ppt.Slides.Append();
Any idea why it breaks after ten slides? Is that a limitation of the library?
Thanks,
-Mike D.