Free Support Forum - aspose.com

Embedded Excel Chart does not retain properties

Hello,

I am trying to embed an excel chart/worksheet into the Slides product. I am able to successfully get the chart to show up but some of the properties I am setting in through the cells product are not "sticking" when the chart is embedded.

I created a basic chart in the ASpose.Cells product and set the AutoScale for the DisplayUnitLabels to false.

chart.CategoryAxis.DisplayUnitLabel.AutoScaleFont = false;

I then stream the workbook to a byte array and embed it in the slides as an oleObject. When I update the object from powerpoint the AutoScale is set to true. When I save the workbook I never actually save it to a file on the hard drive I use the SaveToStream method.

Thanks,

Justin

Please read my post on this thread.