Text size into pixels

F

Fer

if we have the following string: "this is an example",
anybody knows how can we get programmaticatly the number
of pixels that we need to represent that string?

Thanks in advance.
 
M

Matt Kunze

Fer said:
if we have the following string: "this is an example",
anybody knows how can we get programmaticatly the number
of pixels that we need to represent that string?

Thanks in advance.
check out Graphics.MeasureString
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top