Version

Displaying the List of Fonts in a Standard Font

When WinFontNameEditor™ displays its list of fonts, it defaults to displaying each font name formatted using the font itself. However, you can show the font names in the standard font instead. This feature is controlled by the ShowFontNamesInFont property.

The sample code below shows you how to turn off formatted font names.

In Visual Basic:

Private Sub btnDontShow_Click(ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles btnDont.Click
	Me.UltraFontNameEditor1.ShowFontNamesInFont = False
End Sub

In C#:

private void btnDontShow_Click(object sender, EventArgs e)
{
	this.ultraFontNameEditor1.ShowFontNamesInFont = false;
}
shows winfontnameeditor with plain text for font names

The sample code below shows you how to restore formatted font names.

In Visual Basic:

Private Sub btnShow_Click(ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles btnShow.Click
	Me.UltraFontNameEditor1.ShowFontNamesInFont = True
End Sub

In C#:

private void btnShow_Click(object sender, EventArgs e)
{
	this.ultraFontNameEditor1.ShowFontNamesInFont = true;
}
shows winfontnameeditor with font's styling the text in the drop-down