Skip to content

TCSVDocument.InsertRow

Insert row before row number aRow.

Declaration

Source position: csvdocument.pp line 111

public 
procedure TCSVDocument.InsertRow(ARow: Integer; 
                                const AFirstCell: string='');

Description

InsertRow inserts a new empty row before row number aRow, and adds a cell to the new row with contents aFirstCell.

If a non-existing row is specified, the row is simply appended after the last row.

See also

Name Description
AddRow Add a new row to the CSV Data.
AddCell Add a new cell to a row.
InsertCell Insert cell at specified position.
RemoveRow Remove a row.