Wednesday, October 27, 2010

ExcelService - RangeCoordinate

small discription about range coordinat, cause I was pretty confused while using it, so sharing my exp
RangeCoordinates rngCrd = new RangeCoordinates();

rngCrd.Row = 0;

rngCrd.Column = 0;

rngCrd.Height = 3;

rngCrd.Width = 10;
.Row = start Row
.Column = start column
.Height = no of rows. in this case total three rows.
.Width = no of columns, total ten columns.
So the above line mean, range starting from 0th row,0th column and ending at 10th column of 3rd row.
Happy coding

No comments:

Post a Comment