Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBackground.DoPaint(TdxPSReportRenderCustomCanvas,TRect,TdxPaintSequence,Boolean) Method

Generates the OnPaint event.

#Declaration

Delphi
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