DrawText method (ILEADRasterFXD)
short DrawText(ILEADRaster *pRaster, long hDC, BSTR szText, long ForegroundImage); | |
Overview |
Remarks
Draws a text object in the control's client area or on the current bitmap. Placement and other aspects of the text object are specified by related properties described in Drawing Three-Dimensional Shapes and Text.
You can create an image that consists of a pattern or gradient color to use as a foreground of the text. Refer to Gradients and Patterns for related properties.
The bitmap that you specify is positioned at the origin of the text object's rectangle, and it is not scaled. Therefore the bitmap that you use for this purpose should be sized accordingly. In most cases it should be the same size as the rectangle.
See Also
Topics: |