TTMSFNCDataGridRenderer.CreateCell Method
Creates a standalone
TTMSFNCDataGridCellatARectfor the given cell coordinate. The caller owns the returned object.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Overloads
Overload 1
Creates a standalone
TTMSFNCDataGridCellatARectfor the given cell coordinate. The caller owns the returned object.
function CreateCell(ARect: TRectF; ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCell; overload;
Parameters
| Name | Description |
|---|---|
ARect |
Bounds of the cell object in device-independent pixels. |
ACell |
Cell coordinate represented by the new object. |
Returns
A new cell object for the requested coordinate.
Overload 2
Creates a standalone
TTMSFNCDataGridCellatARectfor the given column/row. The caller owns the returned object.
function CreateCell(ARect: TRectF; AColumn: Integer; ARow: Integer): TTMSFNCDataGridCell; overload;
Parameters
| Name | Description |
|---|---|
ARect |
Bounds of the cell object in device-independent pixels. |
AColumn |
Zero-based column index represented by the new object. |
ARow |
Zero-based row index represented by the new object. |
Returns
A new cell object for the requested coordinate.