Hi
I'm using the demo version in order to decide if to buy this product.
my version is : 7.0.35.7040
I have an Excel file with a chart,
trying to save it as image - in order to attache it to an html and sent it vie Email.
my code :
public Image[] saveImages(string fullName)
{
Workbook workbook = new Workbook();
workbook.LoadFromFile(fullName, ExcelVersion.Version2010);
Worksheet sheet = workbook.Worksheets[0];
Image[] imgs = workbook.SaveChartAsImage(sheet);
for (int i = 0; i < imgs.Length; i++)
{
imgs[i].Save(string.Format("img-{0}.png", i), System.Drawing.Imaging.ImageFormat.Png);
}
return imgs;
}
the method : SaveChartAsImage
is not recognize by C#
(error workbook does not contain a definition for ...)
if this feature is not working we will try (& buy) an excel library that does has this features
thanks
attached my excel file