GDI Font Width

Started by
0 comments, last by Armera 23 years, 4 months ago
Using TextOut in C++ to write a string of characters to a surface, is there any way in finding out how wide (in pixels) that string is/was? -JER
It's not reverse engineering, unless you get caught.
Advertisement
GetTextExtentPoint() and GetTextExtentPoint32() can determine the height and width of a string produced.

This topic is closed to new replies.

Advertisement