- Dimensions of TextOut
- Posted by Allan M on August 23rd, 2003
How do I calculate the width and height of a string that I TextOut to a
window?
It will depend on the Logical Font and the characters in the string.
Is there a function for this?
- Posted by Elias Fotinis on August 23rd, 2003
Allan M wrote:
Use GetTextExtentPoint32 or a similar function.
- Posted by Tim Robinson on August 23rd, 2003
GetTextExtentPoint32
--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/
"Allan M" <allanm1@ihug.co.nz> wrote in message
news:01c36934$601f8480$48d2adcb@default...
Similar Posts
- Textout and a string's font size (Programming) by Charsii
- how to convert a const char *FAR so i can output using TextOut (Development Resources) by TheTempest
- Re: Adobe dimensions. (Graphics & Designing) by DaKitty
- Re: Adobe dimensions. (Graphics & Designing) by woodsie
- TextOut (Drivers) by Nitin Kapoor

