measuring string width and height

does anyone know how to Get  concatenated string by passing (original string,font type, width in pixel required for the font to fit in) forms has a function like this in there any function like this for web??.

0 greatb78 12/29/2003 7:12:05 AM
i meant truncated not concatenated string
0 greatb78 12/29/2003 8:11:39 AM
Yo can use that function.... something like 

System.Drawing.Graphics.MeasureString(strNombre, Font).Width
Rodrigo Iloro Negri

Software Craftsman

Microsoft Certified Professional

Light Solutions

Buenos Aires - Argentina
0 Obi 12/29/2003 2:19:28 PM
Am I the only one that's having trouble with MeasureString returning a completely wrong value?  When debugging a GDI+ heavy app I'm working on currently, I've been finding that MeasureString is often over double the correct length.
Encosia - ASP.NET, AJAX, and more.

Latest article: How I handle JSON dates returned by ASP.NET AJAX
0 gt1329a 1/3/2004 3:24:23 AM
join the club man ..same thing over here...if you or i find a good solution we can exchange
0 greatb78 1/4/2004 6:18:17 AM

(Thread closed)