This project has moved and is read-only. For the latest updates, please go here.

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

Feb 15, 2011 at 12:37 AM

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
Michael

Feb 15, 2011 at 3:52 PM

Hi,

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.

Jan