Free Support Forum -

Failure to Load Picture on Cloned Slide


In my In C# Code it clone some slides from presentation,

but when I open that cloned slide it display all shape and Text On it But Not Images So...

Plz Help Me

Dear Chintan,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.Slides for .NET

Please provide your source code and source presentation(s) if any.

this code may help you to solve your prob..............

Presentation Pres1 = new Presentation("C:\\sourceppt.ppt");

Presentation Pres2 = new Presentation("C:\\temp.ppt");

SortedList sList = new SortedList();

Slide slide = Pres1.GetSlideByPosition(1);

Slide sCopy = Pres1.CloneSlide(slide, 0, Pres2, sList);

Pres2.CloneSlide(sCopy, 0);


ok try to use :

Pres1.CloneSlide(slide, 0, Pres2, sList);

Thank you Very Much I Got it....

Tanks Again

Always pass 1 or greater integer to clone slide method and also always pass new sorted list object e.g

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Pres1.CloneSlide(slide, 1, pres2, new SortedList());