| Skype: | TextControlSupport | |
| Orders: | 877-462-4772 |
Selection.FontName Property |
||
| Description: | 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: | Text Selections and Character Input, Graphical Overview. | |