Hi,
I am looking at Aspose Slide and was wondering the following: Can you create a new presentation from an existing .pot template and then add ranges of slides from different existing presentations. This would be a real help..Thanks
Alan Kennard
This message was posted using Support 2 Forum
Dear Alan,
Thank you for considering Aspose.Slides
You can create Presention object from existing ppt file.
Further, you can change the template of your presentation from different templates.
Please see this post. Here you will find a code, that changes the template of existing presentation into the template input by user.
<A href="</A></P>
Thank you for the update on how to build a presentation from an existing template.
My aim is to build a tool that can allow users to pick single slides from different authoised presentation and build their own final presentation. Can you let me know the code on how to add slides from different presentation.
You support system is excellent by the way
Thanks
Alan
Dear Alan,
Yes, you can create presentation by importing slides from different presentations. To do so, Aspose.Slides provides Presentation.CloneSlide method.
The CloneSlide method can copy slide within the presentation or from other presentation.
For example, the code for copying slide from existing presentation looks like this
Slide sldToBeCloned=srcPres.GetSlideByPosition(2);
srcPres.CloneSlide(sldToBeCloned, 1, dstPres, new SortedList);
The above code is copying/cloning slide number 2 from the source presentation into the destination presentation as a slide number 1
It will also be useful for you to read Developer Guide section on Aspose.Slides Wiki.
Also read about Clone Slides at this link.