How to find padding space around the label text?

Posted by Ganesh on Stack Overflow See other posts from Stack Overflow or by Ganesh
Published on 2010-03-11T09:25:45Z Indexed on 2010/03/28 21:43 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

I am adding a label controls at run time. I can add or modify text in label and can change the font also.Now my problem is When i changed the font of text in label, alignment is not proper,its due to padding.Is there any way to find how much padding is ocured [ed: obscured?] based on font?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET