TdxFcObject.PaintImage(TRect) Method
Paint an image associated with the chart symbol.
Declaration
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