The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context.
int GetTextFace(
HDC hdc, |
// handle of device context |
int nCount, |
// length of buffer receiving typeface name |
LPTSTR lpFaceName |
// address of buffer receiving typeface name |
); |
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. To get extended error information, call GetLastError.
The typeface name is copied as a null-terminated character string.
If the name is longer than the number of characters specified by the nCount parameter, the name is truncated.
GetTextAlign, GetTextColor, GetTextExtentPoint32, GetTextMetrics
file: /Techref/os/win/api/win32/func/src/f41_5.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/5 01:30,
3.17.183.204:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f41_5.htm"> GetTextFace</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.