Sat Feb 04, 2017 3:27 am
Dear Lucy,
Thanks for your inquiry.
They are parameters of WorkSheet.InsertRow(int rowIndex, int rowCount, InsertOptionsType insertOptions); method. InsertOptionsType will appoint the format of the insert row while using the method to insert a row or rows. For example:
1) sheet.InsertRow(2, 1, InsertOptionsType.FormatAsBefore); will insert a new row between row 1 and row 2 and copy the format of row 1 to the new row.
2) sheet.InsertRow(2, 1, InsertOptionsType.FormatAsAfter); will copy the format of row 2 to the insert row.
3) sheet.InsertRow(2, 1, InsertOptionsType.FormatDefault); will load the default format to the insert row. It's the same as sheet.InsertRow(2, 1);.
Any further questions, please contact us.
Have a nice day.
Sincerely,
Simon
E-iceblue support team