Textwidth

  • Thread starter Thread starter Sylvain Barde
  • Start date Start date
S

Sylvain Barde

What is the similar function in .NET

I don't want e.Graphics.MeasureString

--
Sylvain Barde

MCP Microsoft Certified Professional
MCT Microsoft Certified Trainer
_________________________________________



MCSD Microsoft Certified Solution Developer
 
For exemple, want to adjust the column width of a listiew with the most
larger string in this coloumn.

Thank you

--
Sylvain Barde

MCP Microsoft Certified Professional
MCT Microsoft Certified Trainer
_________________________________________



MCSD Microsoft Certified Solution Developer
 
Sorry for the late reply, I'm just going through old postings

Create a label object with the same text and font as the item you want to
display and then use its PreferredWidth property
 
Back
Top