I have an application that I am trying to populate a combobox with fonts from the system. I have been able to find code that does this from MSDN website.
My issue now is to display one of these given fonts as the default. Say for instance I want to set the default font that is displayed to Arial or Segoe UI.
Thanks in advance.
VB.NET:
Dim ff As FontFamily
For Each ff In System.Drawing.FontFamily.Families
ComboBox2.Items.Add(ff.Name)
Next
My issue now is to display one of these given fonts as the default. Say for instance I want to set the default font that is displayed to Arial or Segoe UI.
Thanks in advance.