|
OnCellDrawEx |
Top Previous Next |
|
This event is triggered just before rendering each cell during the creation of tables using BeginTable and EndTable methods.
Syntax
Member of eDocEngineX.gtPDFEngineX
Parameters
Row [in] Specifies row number of the cell. Column [in] Specifies column number of the cell. PenColor [in, out] Specifies color of the pen. PenStyle [in, out] Specifies style of the pen. PenWidth [in, out] Specifies width of the pen. BrushColor [in, out] Specifies color of the brush. BrushStyle [in, out] Specifies style of the brush. Font [in, out] Specifies font properties of the text. FrameIsLeft, FrameIsTop, FrameIsRight, FrameIsBottom [in, out] (Boolean values) Specify whether inside border of the cell should be drawn. FrameLeft, FrameTop, FrameRight, FrameBottom [in, out] Specifies respective internal margin of the cell. HAlignment [in, out] Specifies horizontal alignment for the text. TextColor [in, out] Specifies color of the text.
Remarks The OnCellDrawEx event allows you to change the properties of a table's cell before drawing. This event is triggered just before drawing the cell specified by Row and Column. The user can change the pen, brush, frame, font and horizontal alignment properties corresponding to a particular cell by providing a handler to this event.
Following the introduction of the OnCellDrawEx event in eDocEngine, an older event, OnCellDraw, stands deprecated. It is recommended that the OnCellDrawEx event is used in place of OnCellDraw.
|