Draws text onto the image.
- x
- The left component (in pixels) of the top-left coordinate for the text.
- y
- The top component (in pixels) of the top-left coordinate for the text.
- text
- A string that specifies the text to draw.
- Color
The RGB color of the text. You can use the RGB function to specify the color.
The value specified must be in a valid OLE_COLOR range.
The font and size of the text depends on the settings of the Font property.
This method draws into the control's DIB.