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.
 
Back
Top