DrawTextOut method (ILEADRasterFXD)

Syntax

short DrawTextOut (ILEADRaster *pRaster, long hDC, float fX, float fY, BSTR pszText);

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

Draws a text object in the control's client area or on the current bitmap. Use this method instead of DrawText in Access 2.0, which has limited support for text objects.

The DrawTextOut method recognizes only the following related text-object properties:

DrawPersistence property

Font property

DrawFontColor property

The DrawPersistence property determines whether the object is drawn on the screen or the bitmap. Whether you draw on the screen or the bitmap, the text is always positioned in the ILEADRasterView Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.

See Also

Elements:

DrawText method

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage