Click or drag to resize

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
)

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