XlsWorksheet
InsertArray
T
Method (
T
, Int32, Int32, Boolean, Boolean)
|
Inserts 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<T>(
T[] objects,
int firstRow,
int firstColumn,
bool isVertical,
bool isText
)
Public Function InsertArray(Of T) (
objects As T(),
firstRow As Integer,
firstColumn As Integer,
isVertical As Boolean,
isText As Boolean
) As Integer
public:
generic<typename T>
int InsertArray(
array<T>^ objects,
int firstRow,
int firstColumn,
bool isVertical,
bool isText
)
member InsertArray :
objects : 'T[] *
firstRow : int *
firstColumn : int *
isVertical : bool *
isText : bool -> int
Parameters
-
objects
-
Type:
T
The array of objects to insert.
-
firstRow
-
Type:
System
Int32
The row index to start inserting from (1-based).
-
firstColumn
-
Type:
System
Int32
The column index to start inserting from (1-based).
-
isVertical
-
Type:
System
Boolean
Indicates whether to insert the objects vertically (true) or horizontally (false).
-
isText
-
Type:
System
Boolean
Indicates whether to insert the objects as text (true) or as numeric values (false).
Type Parameters
-
T
-
The type of objects to insert.
Return Value
Type:
Int32
The number of objects successfully inserted.
See Also