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
)
Public Function InsertArray (
objectArray As Object(,),
firstRow As Integer,
firstColumn As Integer,
needConvert As Boolean
) As Integer
public:
int InsertArray(
array<Object^,2>^ objectArray,
int firstRow,
int firstColumn,
bool needConvert
)
member InsertArray :
objectArray : Object[,] *
firstRow : int *
firstColumn : int *
needConvert : bool -> int
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