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

Free Support Forum - aspose.com

Merging pptx

I have just downloaded a copy of Aspose Java Slides for evaluation. I would like to test an example of merging presentations, but I have just realised that downloaded library is obfuscated so I cannot go forward with my test and create a sample code.

How can I try Aspose for pptx files merging? Is there any online tool or code sample available that I can use?

Thanks in advance

Hi Adolfo,

Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please try using following sample code on your end to serve the purpose. To learn about other features offered by Aspose.Slides, I request you to please visit this documentation link for your kind reference.

public static Presentation MergePresentation(Presentation originalPres, Presentation presToBeAdded)




ISlideCollection slidesColl = presToBeAdded.getSlides();

if (slidesColl.size() > 0)


for (ISlide objSld : slidesColl)






catch (Exception ex)



return originalPres;


Presentation source = new Presentation(“D:\File1.pptx”);

Presentation dest = new Presentation(“D:\File2.pptx”);

Presentation result = new Presentation();

result = MergePresentation(source, dest);

result.save(“D:\Result.pptx” , SaveFormat.Pptx);

I hope this will be helpful. Please share if I may help you further in this regard.

Best Regards,