XlsWorksheet
InsertArray Method (
Int32
, Int32, Int32, Boolean)
|
Imports an array of integer into a worksheet.
Examples
The following code illustrates how to Imports an array of integer values into a worksheet with the specified row and column:
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(
int[] intArray,
int firstRow,
int firstColumn,
bool isVertical
)
Public Function InsertArray (
intArray As Integer(),
firstRow As Integer,
firstColumn As Integer,
isVertical As Boolean
) As Integer
public:
virtual int InsertArray(
array<int>^ intArray,
int firstRow,
int firstColumn,
bool isVertical
) sealed
abstract InsertArray :
intArray : int[] *
firstRow : int *
firstColumn : int *
isVertical : bool -> int
override InsertArray :
intArray : int[] *
firstRow : int *
firstColumn : int *
isVertical : bool -> int
Parameters
-
intArray
-
Type:
System
Int32
Integer 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.
-
isVertical
-
Type:
System
Boolean
Specifies to import data vertically or horizontally.
Return Value
Type:
Int32
Implements
IWorksheet
InsertArray(
Int32
, Int32, Int32, Boolean)
See Also