thank you...
i tried with Graphics class....i got little accurate answer...
User Profile
Collapse
-
Get Text Width for its given Font
Hi,
Case 1 :
Text : "Hi How are 123 ? "
Font :Arial
Size : 10
Case 2:
Text : "Hi How are 123 ? "
Font :Times New Roman
Size : 10
For this two cases ,the width of the Text("Hi How are 123 ? ") is different.
how to calculate this string width for its given font.???
Thank You.
No activity results to display
Show More
Leave a comment: