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

ExcelDrawing.SetPosition(int Row, int RowOffsetPixels, int Column, int ColumnOffsetPixels)

Feb 14, 2011 at 11:37 PM

Hi Jan and others

ExcelDrawing.SetPosition(int Row, int RowOffsetPixels, int Column, int ColumnOffsetPixels) seems to use zero-based indexes for row and column, whereas everything else in EPPlus uses one-based indexes. Is this a bug?

Kind regards

Feb 15, 2011 at 2:52 PM


The file format use a zero-based row index, so thats why. I have tried not to recalculate the values in the format, but in this case it would have been better. But I can't change it now, since a lot of people use it in production.