SelFontName Property

       

Returns or sets the font used to display the currently selected text or the character(s) immediately following the insertion point in the RichTextBox control. Not available at design time.

Syntax

object.SelFontName [= string]

The SelFontName property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string A string expression that identifies a font installed on the system.

Remarks

The SelFontName property returns Null if the selected text contains different fonts.