This project has moved. For the latest updates, please go here.

Load a picture from a spread sheet

Aug 29, 2014 at 11:02 AM
I create a spread sheet and add a jpg image to it using

private static void AddImage(ExcelWorksheet ws, int columnIndex, int rowIndex, string filePath)
        //How to Add a Image using EP Plus
        Bitmap image = new Bitmap(filePath);
        ExcelPicture picture = null;
        if (image != null)
            picture = ws.Drawings.AddPicture("pic" + rowIndex.ToString() + columnIndex.ToString(), image);
            picture.From.Column = columnIndex;
            picture.From.Row = rowIndex;
            picture.SetSize(340, 256);


I also need to read the spread sheet back in.
How do I read the image from the spread sheet into a Bitmap?
Oct 8, 2014 at 2:03 PM
Can anybody help please