TXTextControl.Selection.FontName Property

Gets or sets the font of the selected text.

Syntax

[C#]
public string FontName { get; set; }
[Visual Basic]
Public Property FontName() As String

Remarks

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.

Limitations

Runtime only.

See Also