How to track the reordering of Slides in a presentation


If we create a presentation in Microsoft Powerpoint and at some later stage reorder the slides, this reordering is not getting reflected while we process this presentation using aspose library.
The slides are not being processed in an ordered manner. and therefore when we create thumbnails of these slides and give a preview of all the slides to the user, the slides appear in an unordered fashion.

Can anyone please suggest a way to track the reordering of slides or to overlook this reordering and to show the processed slides in an ordered fashion as they exist in the presentation.



Aspose.Slides takes care of reordering of slides’ position. Here is the correct way to get thumbnails.

Presentation srcPres = new Presentation(@"d:\downloads\source.ppt");
for (int i = 1; i <= srcPres.Slides.LastSlidePosition; i++)
    Slide sld = srcPres.GetSlideByPosition(i);

    //double scaleX = (double)800 / 720;
    //double scaleY = (double)600 / 540;

    Image img = sld.GetThumbnail(1.0, 1.0);

    img.Save(@"c:\out\outImg" + i + ".bmp", ImageFormat.Bmp);