Articles in this section
Category / Section

How can I include a custom font to the FontListComboBox dynamically?

1 min read

 

Custom font can be included to the font list combo box dynamically. Font source can set to a path from the system. The following code shows how to browse the font and included to the font list combo box.

[C#]

Syncfusion.Windows.Tools.Controls.FolderBrowser folderBrowser = new FolderBrowser(); if (folderBrowser.ShowDialog(this).Value) { pathTextBox.Text = folderBrowser.SelectedDirectory + @"\ "; FontBox.FontsSource = pathTextBox.Text; } Syncfusion Inc.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied