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
Create combox to populate list of available system fontsizes
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jul 11, 2013, 2:34 AM EDT
http://msdn.microsoft.com/en-us/library/system.windows.forms.fontdialog.aspx
you'll see that the sizes which are normally rendered are:
int[] fontSizes = {8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72};
So binding the combobox to the above array may suffice for your requirement.
Sunny SharmaRank #223 · 11.1K reputationPosted Jul 11, 2013, 2:51 AM EDT
I support the answer by Vulpes.
You can have an array of font sizes of your choice, bind the array to combo box and it's done.
Tina Thakare8 reputationPosted Jul 11, 2013, 3:02 AM EDT
Thanks for your inputs.
Thanks,
Tina