Hi,
When trying to add a clone of a slide to another presentation IndexOutOfRange exception is thrown. To reproduce this issue use the attached file the following code:
var mainPresentation = new Presentation();
var presentation = new Presentation(@“C:\Overview.pptx”);
mainPresentation.Slides.AddClone(presentation.Slides[0]);
As a note: the file is opening in PowerPoint without problems.
Best regards,
Aurelian Iordache
IBM Romania
Hi Aurelian Iordache,
I have worked with the sample code and presentation file shared by you using Aspose.Slides for .NET 14.7.0. I have not been able to observe the issue on my end. I request you to please try using the specified version on your end to serve the purpose. Please share if I may help you further in this regard.
Many Thanks,