Free Support Forum - aspose.com

How to identify graphs and charts specifically within a Shape type node

Hi,

I need to identify all graphs and charts within my document.
Currently I am able to identify all the type nodes as follows:

boolean hasShape = false;
NodeCollection shapes = document.getChildNodes(NodeType.SHAPE, true, false);
if (shapes.getCount() > 0){
hasShape = true;
}


However, how can I identify and extract graphs/charts specifically for further processing?

Thanks.
Regards,
Siddarth



Hi Siddarth,

Thanks for your inquiry.

First of all please note that Aspose.Words currently does not provide API classes to be able to create charts from scratch and process them with new values. Your request has been linked to the appropriate issue (WORDSNET-4617) in our issue tracking system and you will be notified as soon as it is available.

Aspose.Cells component provides many charting objects that can be used to create/process charts in a flexible manner. You can also save a chart to Image format and then insert chart image in Word document by using Aspose.Words. Please see the following link:
http://docs.aspose.com/display/cellsnet/How+to+Create+a+Chart

Please let us know if you need more information, we are always glad to help you.

Best regards,

The issues you have found earlier (filed as WORDSNET-4617) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(6)