 |
TextOut Add comment W32 Constants Translate this page |
 |
 |
Writes a character string at the specified location, using the currently selected font, background color, and text color.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL TextOut(
HDC hdc, // handle to DC
int nXStart, // x-coordinate of starting position
int nYStart, // y-coordinate of starting position
LPCTSTR lpString, // character string
int cbString // number of characters
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER TextOut IN gdi32;
INTEGER hdc,;
INTEGER x,;
INTEGER y,;
STRING lpString,;
INTEGER nCount
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to the device context.
nXStart
[in] Specifies the logical x-coordinate of the reference point that the system uses to align the string.
nYStart
[in] Specifies the logical y-coordinate of the reference point that the system uses to align the string.
lpString
[in] Pointer to the string to be drawn |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero |
 |
 |
| My comment: |
 |
| See also: DrawText, CreateFont |
 |
 |
| Word Index links for the TextOut : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-18 12:00:00 | | Modified: | 2005-12-19 08:02:39 | Visited in last 7 days: 77 |