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

TdxFcObject.PaintImage(TRect) Method

Paint an image associated with the chart symbol.

#Declaration

Delphi
procedure PaintImage(const R: TRect);

#Parameters

Name Type
R TRect

#Remarks

This procedure draws an image within a rectangular portion of its client area passed as the R parameter. The PaintImage procedure draws the image only if it fits into the target area.

The default chart symbol paint routine calls the PaintImage procedure internally to display the image prior to text. To draw the image within the custom painted chart symbol, call the PaintImage procedure in the OnDrawObject event handler.

Note

To position the painted image in the target area, use the HorzImagePos and VertImagePos properties.

See Also