I have been reviewing the archives and MSDN for how to retrieve the font sizes for a particular fontfamily. But I have had no luck.
I have looked through the fontfamily class and font class I see no method or property that would return a collection or array of font sizes.
What I am trying to do is allow the user to select a fontfamily from a list box and then display the sizes that family would support on the printer in another list box. Then the user would be printing a text file to the printer with the specified fontfamily and size.
I can't use the font dialog because these settings would be saved and used for hundreds of files on a print server. An administrator would set them once for all files to print.
What am I missing here ?
Thanks,
MFZ
I have looked through the fontfamily class and font class I see no method or property that would return a collection or array of font sizes.
What I am trying to do is allow the user to select a fontfamily from a list box and then display the sizes that family would support on the printer in another list box. Then the user would be printing a text file to the printer with the specified fontfamily and size.
I can't use the font dialog because these settings would be saved and used for hundreds of files on a print server. An administrator would set them once for all files to print.
What am I missing here ?
Thanks,
MFZ