Skip to main content

TdxSpreadSheetTableView.CreateCell(Integer,Integer) Method

Returns an underlying cell object of a cell at the specified position in the worksheet.

Declaration

function CreateCell(const ARow: Integer; const AColumn: Integer): TdxSpreadSheetCell; overload; virtual;

Parameters

Name Type
ARow Integer
AColumn Integer

Returns

Type
TdxSpreadSheetCell

Remarks

Call either of the overloaded function variants to obtain a cell object to edit the corresponding cell’s value, change style settings and apply specific formatting patterns. The first function variant accepts a reference to the target cell (in the A1 format) as the ACellReference parameter, while the second variant accepts zero-based row and column indexes of the target cells as the ARow and AColumn parameters.

The CreateCell creates a new cell object if there is none at the specified position. You can access a newly created cell object via the Cells property.

See Also