Unable to create clone of a slide in PresentationEX

Hi Aspose

I am unable to create clone for those slides which are having objects like Chart objects, Drawing objects and Think cell objects. Below are code which i am using but it is throwing error on 4th line of code as "Object reference not set to an instance of an object.". But in case a simple slide cloning is happening well.

PresentationEx Present;

Present = new PresentationEx();

Present = new PresentationEx("D:\\Company Project\\abc.pptx");

Present.Slides.AddClone(Present.Slides[1]);

Please reply ASAP.

Thanks & Regards

Binod

Hi Binod,

Thanks for your interest in Aspose.Slides.

I have observed the code snippet shared by you and it seems to have no issue. In order to investigate and resolve the issue please share the source presentation file containing the said chart objects. We are really keen to help you but need the presentation data for that.

We are sorry for your inconvenience,