Back to Devexpress

TdxFcObject.PaintText(TRect) Method

vcl-dxflchrt-dot-tdxfcobject-dot-painttext-x28-system-dot-types-dot-trect-x29.md

latest1.2 KB
Original Source

TdxFcObject.PaintText(TRect) Method

Paint the chart symbol’s text.

Declaration

delphi
procedure PaintText(const R: TRect);

Parameters

NameType
RTRect

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

TdxFcObject.PaintImage

TdxFcObject Class

TdxFcObject Members

dxflchrt Unit