XlsWorksheet
InsertArray Method (
Double
, Int32, Int32, Boolean)
|
Imports an array of doubles into a worksheet.
Examples
The following code illustrates how to Imports an array of Double 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(
double[] doubleArray,
int firstRow,
int firstColumn,
bool isVertical
)
Public Function InsertArray (
doubleArray As Double(),
firstRow As Integer,
firstColumn As Integer,
isVertical As Boolean
) As Integer
public:
virtual int InsertArray(
array<double>^ doubleArray,
int firstRow,
int firstColumn,
bool isVertical
) sealed
abstract InsertArray :
doubleArray : float[] *
firstRow : int *
firstColumn : int *
isVertical : bool -> int
override InsertArray :
doubleArray : float[] *
firstRow : int *
firstColumn : int *
isVertical : bool -> int
Parameters
-
doubleArray
-
Type:
System
Double
Double 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(
Double
, Int32, Int32, Boolean)
See Also