Unit 'csvdocument' Package
[Overview][Types][Classes][Index] [#fcl]

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 = ''

);

Arguments

ACol

  

Column number (zero based) before which to insert new cell.

ARow

  

Row number (zero based) at which to insert new cell.

AValue

  

Value for the newly inserted cell.

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

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.


Documentation generated on: Dec 22 2024