How can I add System Font Names to a List box

bconner

New member
Joined
Jun 4, 2009
Messages
4
Programming Experience
Beginner
I have a List box that I would like to populate with the Windows Font Names, how can I do this?
 
VB.NET:
		Dim fc As New Drawing.Text.InstalledFontCollection
		Dim ff As FontFamily() = fc.Families()
		For Each family As FontFamily In ff
			Me.ListBox1.Items.Add(family.Name)
		Next
 
Back
Top