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.PaintText(TRect) Method

Paint the chart symbol’s text.

#Declaration

Delphi
procedure PaintText(const R: TRect);

#Parameters

Name Type
R TRect

#Remarks

This procedure draws a text within a rectangular portion of its client area passed as the R parameter. The PaintText procedure crops the tailing part of the text if it does not fit into the target area.

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

Note

To position the painted image in the target area, use the HorzTextPos and VertTextPos properties.

See Also