I want to adjust the length of a label/ text box at run time by knowing the length of a string in pixel.
Is there any way to know this ?

Thanks in advance..