Hi All,
Am using Aspose version 4.5.0.0 in my application.
I generated Chart in worksheet using Aspose.Cells.
I need to convert that worksheet which contains chart into image.
Using Aspose version 5.0.0.0 am able to convert it but with version 4.5 am unable to do it.
Please help me to achieve this.
I used the below code,
Aspose.Cells.Charts.Chart imgChart1 = workbook.Worksheets[0].Charts[1];
imgChart1.ToImage(@"D:\Desktop_Items\ChartGenerateExample\Generate_Chart\WebApplication1\Images\AnnualChart.png", System.Drawing.Imaging.ImageFormat.Png);
The error am getting with version 4.5.0.0 is "The type name 'Chart' does not exist in the type 'Aspose.Cells.Charts'"
Thanks in advance.