Get list of installed fonts - Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

Requirements: 1 list box and 1 button:
Get list of installed fonts-

Go to the code page and add the following declaration:
Imports System.Drawing.Text

Get Fonts Button Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
 Handles Button1.Click
        Dim fonts As New InstalledFontCollection
        For Each one As FontFamily In fonts.Families
End Sub

Share This

Home | About | Contact | Privacy Policy

Copyright 2018 - All Rights Reserved.