Table of Contents

TTMSFNCDataGridRenderer.AddBitmap Method

Adds a bitmap cell using a bitmap instance at the specified cell coordinate.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Overloads

Overload 1

Adds a bitmap cell using a bitmap instance at the specified cell coordinate.

procedure AddBitmap(ACell: TTMSFNCDataGridCellCoord; ABitmap: TTMSFNCBitmap); overload;

Parameters

Name Description
ACell Cell coordinate that receives the bitmap cell.
ABitmap Bitmap instance to display in the cell.

Overload 2

Adds a bitmap cell using a named bitmap container item at the specified cell coordinate.

procedure AddBitmap(ACell: TTMSFNCDataGridCellCoord; AName: string); overload;

Parameters

Name Description
ACell Cell coordinate that receives the bitmap cell.
AName Name of the bitmap container item to display.

Overload 3

Adds a bitmap cell using a bitmap instance at the specified column and row.

procedure AddBitmap(AColumn, ARow: Integer; ABitmap: TTMSFNCBitmap); overload;

Parameters

Name Description
AColumn Zero-based column index that receives the bitmap cell.
ARow Zero-based row index that receives the bitmap cell.
ABitmap Bitmap instance to display in the cell.

Overload 4

Adds a bitmap cell using a named bitmap container item at the specified column and row.

procedure AddBitmap(AColumn, ARow: Integer; AName: string); overload;

Parameters

Name Description
AColumn Zero-based column index that receives the bitmap cell.
ARow Zero-based row index that receives the bitmap cell.
AName Name of the bitmap container item to display.