ExcelWorksheetInsertRow(Int32, Boolean, Boolean) Method
Inserts a row with style at the specified one based in worksheet. If inheritStyle parameter is false the new row will have the
default style of the worksheet. If inheritStyle is true the new row will inherit the style from the previous row if
fromPrevious parameter is true or from the next row if the fromPrevious parameter is false.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void InsertRow(
int rowIndex,
bool inheritStyle,
bool fromPrevious
)
Public Sub InsertRow (
rowIndex As Integer,
inheritStyle As Boolean,
fromPrevious As Boolean
)
public:
void InsertRow(
int rowIndex,
bool inheritStyle,
bool fromPrevious
)
member InsertRow :
rowIndex : int *
inheritStyle : bool *
fromPrevious : bool -> unit
Parameters
- rowIndex Int32
- The one based index of the new row.
- inheritStyle Boolean
- A flag indicating if the new column should inherit the style from the previous or the
next row function of the fromPrevious parameter.
- fromPrevious Boolean
- A flag indicating if the style should be inherited from the previous or from the next row.
This flag has effect only when inheritStyle is true.