Centering fonts in VB6

Posted by James Musser on Stack Overflow See other posts from Stack Overflow or by James Musser
Published on 2008-12-30T16:24:44Z Indexed on 2010/05/13 16:54 UTC
Read the original article Hit count: 219

Filed under:
|
|
|

How do you determine the length of a string of text in Arial Bold font, and then center it in VB6?

If not here, can you point me in a direction where I might be able to find this information?

We're not using a "label" or "picture box" do print the text to the screen. We are sizing the text on the fly, and allowing the user to scale the size of our application to their liking. We write the text to screen using code.

© Stack Overflow or respective owner

Related posts about font

Related posts about width