window and font

  • Thread starter Thread starter Analizer1
  • Start date Start date
A

Analizer1

How to Get Area needed to Draw a Sentence on a window

Win32 has SizeText()
does c# have a Equlivent

Tks
 
Analizer1 said:
How to Get Area needed to Draw a Sentence on a window
Win32 has SizeText()
does c# have a Equlivent

Graphics.MeasureString, or (more complicated but more accurate)
Graphics.MeasureCharacterRanges.

Eq.
 
Thank you very much


Paul E Collins said:
Graphics.MeasureString, or (more complicated but more accurate)
Graphics.MeasureCharacterRanges.

Eq.
 

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