I´m using Aspose.Words to extract diagrams from word 2003 documents.
It´s no problem to iterate the embedded MSGraph.Chart.8 objects but I can´t read the data from them.
Anyone who knows how to do it?
Thank´s in advance!
Johan
Code for extracting the objects:
Aspose.Words.Document doc = new Aspose.Words.Document(txtPath.Text);
Aspose.Words.NodeCollection shapes = doc.GetChildNodes(NodeType.Shape, true, false);
int i = 0;
foreach (Shape shape in shapes)
{
shape.OleFormat.Save(@"C:\dev\Ar20\Word\ole_" + i + ".data");
i++;
}
Hi
Thanks for your inquiry. Aspose.Words does not allow accessing MSGraph.Chart.8 data. You can only extract embedded OLE objects from the document using Aspose.Words.
Best regards.
Hi
Thanks for your inquiry. Maybe you can try using Word Automation to achieve this. Maybe you can use Microsoft Graph 11.0 Object Library that is used by PowerPoint, Access, and Word for graphs. (Microsoft.Office.Interop.Graph namespace)
Best regards.
I tried to, but I´m stuck.
When I try to get the values from the Datasheet cells I walways get System.__ComObject.
Do you have any idea how to read from it?