I want to get the maximum font size that can fit to a button.I am loading a Button to a panel.its width and height will vary(dynamicall y based on some calculations).I want to increase to the maximum font size.
For example :- Lets assume that Button size is (100,60) and Text is "AC" (only two letters will come). what should be the maximum font size that can fit in this button. if Button size is (150,250) what should be maximum font size that can fit in this button.
Please advice
Thanks,
Ebin
For example :- Lets assume that Button size is (100,60) and Text is "AC" (only two letters will come). what should be the maximum font size that can fit in this button. if Button size is (150,250) what should be maximum font size that can fit in this button.
Please advice
Thanks,
Ebin
Comment