Newbie question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How I can get size of Graphics.DrawString in pixel ? Becuase after I draw
string I need place after its combobox ...

Thank you.
 
You can use one of the Graphics.MeasureString() method overload or you can
use the Graphics.MeasureCharacterRanges() method.
 

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

Back
Top