How can I include a custom font to the FontListBox dynamically?
A Custom font can be included in the FontListBox dynamically. The font source can be set to a path from the system. The following code shows how to browse the font and include it in the FontListBox.
[C#]
FolderBrowser folderBrowser = new FolderBrowser();
if (folderBrowser.ShowDialog(this).Value)
pathTextBox.Text = folderBrowser.SelectedDirectory + @" \ ";
fontListBox.FontsSource = pathTextBox.Text;