Why Does OLE Object Size in Presentation Change after I Updating It in C#?

I have an embedded OLE object (Excel Table) in the middle of my slide. I use Smart Markers of Aspose.Cells feature to update the Excel Table. After the update with fresh data, the table has all the correct data. However, the size of the object really blows up to a much bigger table that does not fit into the slide anymore (after I double click the red "Object Changed" object). It would take a lot of time to reformat to make the table fit into the slide again. My code never changes anything about the style or size of the Excel table. All I want is to inject data into the Smart Markers so my table is filled with good data. How can I keep the object size unchanged?

@BrightStar
I have also faced that same issue, have you found any solution for it?

@omar.sidiqy,
Thank you for contacting support.

Please check the issue using the latest version of Aspose products if it is possible. If the issue persists, please share the following data and information:

  • input presentation file
  • code example that reproduces the problem
  • output presentation file
  • OS version on which the code was executed
  • .NET target platform in your app
  • version of Aspose.Slides and Aspose.Cells you used

3 posts were split to a new topic: The Size of OLE Is Stretched