Click or drag to resize

XlsWorksheet InsertArray Method ( Object , Int32, Int32, Boolean)

Imports an array of objects into a worksheet.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int InsertArray(
	Object[,] objectArray,
	int firstRow,
	int firstColumn,
	bool needConvert
)

Parameters

objectArray
Type: System Object
Object array.
firstRow
Type: System Int32
The row number of the first cell to import in.
firstColumn
Type: System Int32
The column number of the first cell to import in.
needConvert
Type: System Boolean
Whether others type inputted as string type need to be converted, such as number, datetime.

Return Value

Type: Int32
See Also