pixel width of a string in a label

  • Thread starter Thread starter Psiman
  • Start date Start date
P

Psiman

Is it possible to determine the pixel width of a string in an asp.net label?

Cheers

Simon
 
Psiman said:
Is it possible to determine the pixel width of a string in an asp.net
label?

Cheers

Simon

No.
You don't know the font that the browser really uses (you can only *hint*
that it should use a specific font).

Hans Kesting
 
Hans Kesting said:
No.
You don't know the font that the browser really uses (you can only *hint*
that it should use a specific font).

Hans Kesting

As I thought, thank you.
 
Back
Top