String width API call

  • Thread starter Thread starter Bob Berry
  • Start date Start date
B

Bob Berry

Is there an API function that will return the width (in pixels) of a text
string, given a font and font size?
 
Did you see GetTextExtentPoint32()?

In .NET there is Graphics.MeasureString()
 
Back
Top