Hi,
I have a requirement to create on fontsize combo box which will display the list of all available system fontsizes using C#. If anyone know the solution, please revert back asap.
Thanks,
Tina
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tina ThakarePosted Jul 11, 2013, 7:03 AM
-Tina
Sanjeeb LenkaPosted Jul 11, 2013, 7:00 AM
like this
int[] fontSizes = {8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72};
and bind it to combobox
Tina ThakarePosted Jul 11, 2013, 6:19 AM
Thanks for your inputs.
Thanks,
Tina
Sanjeeb LenkaPosted Jul 11, 2013, 6:06 AM
these values are arbitrary. Just generate your own list to bind it to combo box.
8 9 10 11 12 14 .. 72
any problem reply