
Gets or sets the font of the selected text.
[C#]
public string FontName { get; set; }
[Visual Basic]
Public Property FontName() As String
The property returns an empty string when the text selection contains multiple characters with mixed font names. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.
Runtime only.