Hi,
Hi Mohan,
int width =(int) (pres.getSlideSize().getSize().getWidth() - 1000);int height =(int) pres.getSlideSize().getSize().getHeight();
Hi Fayyaz,
Thanks you for immediate response. I tried the solution which you provided, error is resolved. When I try to open the ppt file , I see Object Changed message and when I double click the Object change message excel image opens up, is there any option we need to set so that when we open the ppt the data is displayed and excel template is removed. I am attaching both screen shots for refernce, please let me know if you need more details.
Thanks
Mohan
Hi Mohan,
I like to share that the issue shared is in fact not an issue. Actually, when the Ole frame is added, it is in de-active state by default. The “Ole embed message” is actually set be Ole Engine as default image. Please visit this documentation link for your kind reference. There are some third party solutions available that you may try to explore on your end. Please visit this documentation link for your kind reference. Aspose.Cells is capable of generating the sheet or chart image. You can extract that image and set that Ole frame image. For your convenience, please visit this documentation link and observe the sample code where the chart image is taken.
Many Thanks,