Skip to content

TCSVDocument.AddCell

Add a new cell to a row.

Declaration

Source position: csvdocument.pp line 108

public 
procedure TCSVDocument.AddCell(ARow: Integer; const AValue: string='');

Description

AddCell adds a new cell at the end of row aRow (zero based) with value aValue. If aValue is not specified, then an empty cell is added.

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.
InsertCell Insert cell at specified position.
RemoveCell Remove a cell at a particular row.