TdxFcObject.PaintText(TRect) Method
Paint the chart symbol’s text.
Declaration
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