i have two comboboxes combobox1 & combobox2 i am getting all system fonts in combobox1 i need to get fontstyles of a select font in combobox2
Dim fc As New Drawing.Text.InstalledFontCollection
Dim ff As FontFamily() = fc.Families()
For Each family As FontFamily In ff
Me.ComboBox1.Items.Add(family.Name)
Next
when i select font name for eg. Monotype Corsiva font have only italic & italic bold font style
in brief i need to get fontstyles related to the font i select in combobox1 because fontstyles are different for different fonts