eDocEngine VCL Professional Help » Symbol Reference » Namespaces of Helper Classes » gtCstDocEng Namespace » gtCstDocEng.TgtOnCellDrawEvent Type

Gnostice eDocEngine VCL Developer Guide
gtCstDocEng.TgtOnCellDrawEvent Type

This is the type for the OnCellDraw event handler.

Pascal
TgtOnCellDrawEvent = procedure (Sender: TgtCustomDocumentEngine; Row, Column: Integer; Pen: TPen; Brush: TBrush; Font: TFont; Frame: TgtFrame; var Align: TgtHAlignment) of object;
C++
(Sender: TgtCustomDocumentEngine; Row, Column: Integer; Pen: TPen; Brush: TBrush; Font: TFont; Frame: TgtFrame; var Align: TgtHAlignment) ( TgtOnCellDrawEvent)();
Description

To control how a cell is rendered, specify a procedure of this type as the event handler.

Type Parameters 
Description 
Sender 
Engine that caused this event. 
Row 
Number of the row of the cell. 
Column 
Number of the row of the cell. 
Pen 
Pen setting of the cell. 
Brush 
Brush settings of the cell. 
Font 
Font settings of the cell. 
Frame 
Border settings of the cell. 
Align 
Text alignment of the value of the cell. 

gtCstDocEng