Hi Roger,
Yes, you may extract image of the MS Equation embedded object, May the following sample code help you for your required, I used you template file to extract the image for the MS Equation object.
Sample code:
Workbook workbook = new Workbook();
workbook.Open(@"F:\test\Formula.xls");
OleObjects oles = workbook.Worksheets[0].OleObjects;
for (int i = 0; i < oles.Count; i++)
{
OleObject ole = oles[i];
if (ole.FileType == OleFileType.Xls)
{
//your code
}
else if (ole.FileType == OleFileType.Doc)
{
//your code
}
else if (ole.FileType == OleFileType.Ppt)
{
//you code
}
//..............
else
{
FileStream fs = File.Create(@"F:\test\myequ" + i + ".jpg");
fs.Write(ole.ImageData, 0, ole.ImageData.Length);
fs.Close();
}
}
Thank you.