Free Support Forum - aspose.com

Chart populated into PPT. Got a message Object Changed

Hi

When i m populating Chart into my PPT . I found "Object Changed"..... Message in my particular slide

I used such code

Chart1.DataBindTable(firstView, "CategoryName");

byte[] b = new byte[Chart1.Serializer.SerializableContent.Length];

objslide.Shapes.AddOleObjectFrame(shapex, shapey, ShapeW, shapeH, "", b);

And I am using Dundas Chart Object.

Please Help me...

This is the known issue of Aspose.Slides. You can resolve it either by adding your own image or getting the help of add-on for MS-PowerPoint. Please see this link

http://www.aspose.com/documentation/file-format-components/aspose.slides-for-.net-and-java/object-changed-issue-when-adding-oleobjectframe.html

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

If you double click the Object Changed image, you should be able to open it provided your chart is an OLE object.

In this thread, you can see a code example, in which a chart from excel has been added along with its image to show actual image in stead of Object Changed image.

http://www.aspose.com/community/forums/121497/how-to-access-ppt-chart-using-aspose/showthread.aspx#121497