pixel width of a string in a label

P

Psiman

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

Cheers

Simon
 
H

Hans Kesting

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
 
P

Psiman

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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top