We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

cloneSlide get wrong slice after changing order


I am evaluating your product Aspose.Slides on java. I wrote a small code which pulls out a slice from an existing ppt on stores this on a new ppt.

When I change the order on the source ppt I got the wrong Slide on my destination ppt.

To make an example

1Step Original PPT Look like

Slide 1
Slide 2
Slide 3
Slide 4

-> Programm clones the 2nd and suprise I get slide 2, works.

2Step I changed it and now original PPT looks like

Slide 1

Slide 3
Slide 2

Slide 4

-> Programm runs again and again I want the 2nd one and I get slide 2, but because changing the position with slice 3 I should get slice 3

I hope I could explain clear my problem and Iám looking forward to your answer.


Hello Mirko,

pres.getSlideByPosition(i) // positions numerated from 1
instead of