TCSVDocument.InsertCell¶
Insert cell at specified position.
Declaration¶
Source position: csvdocument.pp line 113
public
procedure TCSVDocument.InsertCell(ACol: Integer; ARow: Integer;
const AValue: string='');
Description¶
InsertCell inserts a new cell before cell aCol (zero based) in row aRow (zero based) with value aValue. If aValue is not specified, then an empty cell is inserted.
If a non-existing column is specified, the cell is appended at the end of the row.
If a non-existing row is specified, rows are added till aRow is reached.
See also¶
| Name | Description |
|---|---|
| AddRow | Add a new row to the CSV Data. |
| InsertRow | Insert row before row number aRow. |
| AddCell | Add a new cell to a row. |
| RemoveCell | Remove a cell at a particular row. |