I could create oleobjectframe but how could i paste it to a shape[1] of existing powerpoint template (pot). Actually, i could add a newslide to powerpoint template and add oleobjectframe like below:
Every shape has its own properties and structure. OleObjectFrame is a special type of shape, so no other shape can be casted to OleObjectFrame. As a workaround, you can insert an Ole Object in your PowerPoint template and update it setting its properties like ObjectData, ObjectClassName, ObjectProgId etc.
Thanks for your earlier response. But could you please share me some sample code how to create chart in powerpoint template. I also need the option to view datasheet on clicking on the chart. So i created chart in excel and taken the oleobjectframe and added the shape aspose ppt slide.
I have uploaded c# code which i worked on, for your reference.
As in a separate thread by you, i have mentioned that you can seek help from Aspose.Cells product family forum for various options regarding chart creation in MS Excel Sheets. If you are talking about MS Charts in PPT, it is not supported by Aspose.Slides for .NET component.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.