How can i know the width of the text that draw in DrawString function

  • Thread starter Thread starter angus
  • Start date Start date
A

angus

Dear All,

How can i know that the width of the text that draw by using DrawString
function?

e.g. how to find the width of the text to be drawn in

g.DrawString("testing text", New Font("Verdana", 10), New
SolidBrush(Color.Black), 10, 10)

Thank you

Regards,

Angus
 
Back
Top