Category / Section
How can I set the font source to custom collection to the FontListComboBox?
1 min read
The source of the font list combo box can be set to the Custom collection as follows :
[C#]
FontCollection collection = new FontCollection(); collection.Add(new FontFamily("Albertus")); collection.Add(new FontFamily("Tahoma")); collection.Add(new FontFamily("Webdings")); collection.Add(new FontFamily("Algerian")); collection.Add(new FontFamily("Antique Olive")); collection.Add(new FontFamily("Global Serif")); FontBox.FontsSource = collection;