Click or drag to resize

TableRowCollectionInsertNew Method

Inserts a new TableRow with the specified height to the collection at the specified index.

Namespace:  GemBox.Presentation.Tables
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public TableRow InsertNew(
	int index,
	Length height
)

Parameters

index
Type: SystemInt32
The zero-based index at which new TableRow should be inserted.
height
Type: GemBox.PresentationLength
Height of a new TableRow.

Return Value

Type: TableRow
A new TableRow with the specified height inserted to the collection.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or index is equal to or greater than Count.
ArgumentOutOfRangeExceptionheight is not greater than zero.
See Also