TdxBackground.DoPaint(TdxPSReportRenderCustomCanvas,TRect,TdxPaintSequence,Boolean) Method
Generates the OnPaint event.
Declaration
procedure DoPaint(ACanvas: TdxPSReportRenderCustomCanvas; Rect: TRect; Sequence: TdxPaintSequence; var ADone: Boolean); virtual;
Parameters
Name | Type |
---|---|
ACanvas | TdxPSReportRenderCustomCanvas |
Rect | TRect |
Sequence | TdxPaintSequence |
ADone | Boolean |
Remarks
The DoPaint method is called when painting a report background on a device context, specified by the ADC parameter. The Rect parameter specifies the rectangle where to draw the background.
The ADone parameter determines whether this method processes the entire drawing operation. If ADone is True, the default drawing procedure is not called.
The Sequence parameter determines whether this method was called before or after background painting. The following values are available:
Value | Description |
---|---|
psBefore | Called before background painting. |
psAfter | Called after background painting. |
See Also