The images included in Excel like below:
To read images from Excel file, use ReoGrid workbook to open the Excel file firstly:
reoGridControl.Load(@"MyPath\Excel\welcome-089.xlsx");
Get the instance of worksheet which includes the images.
var worksheet = reoGridControl.Worksheets["Sheet1"];
By access the FloatingObjects
property of worksheet, iterate over all floating objects existed on the worksheet:
foreach (var floatingObject in worksheet.FloatingObjects)
{
// check whether or not the floating object is an image
if (floatingObject is Drawing.ImageObject)
{
var imageObject = (Drawing.ImageObject)floatingObject;
var image = imageObject.Image;
// process the image
// ...
}
}