 |
GetTextFace ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int GetTextFace(
HDC hdc, // handle to DC
int nCount, // length of typeface name buffer
LPTSTR lpFaceName // typeface name buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetTextFace IN gdi32;
INTEGER hdc,;
INTEGER nCount,;
STRING @ lpFaceName
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to the device context.
nCount
[in] Specifies the length of the buffer pointed to by lpFaceName.
lpFaceName
[out] Pointer to the buffer that receives the typeface name. |
 |
 |
| Return value: |
 |
If the function succeeds, the return value is the number of characters copied to the buffer. If the function fails, the return value is zero.
|
 |
 |
| Word Index links for the GetTextFace : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-04-21 09:17:26 | | Modified: | 2002-04-21 09:18:59 | Visited in last 7 days: 39 |