RichEdit.getSelFont

Overview | Methods | This Package | All Packages

RichEdit.getSelFont

Retrieves the font that is used to format the currently selected text.

Syntax

public Font getSelFont()

Return Value

Returns a Font object that describes the font used to format the selected text.

Remarks

If no text is currently selected, this method returns the font that is used to format the position of the insertion point. If the current selection includes more than one font, this method returns null.

See Also   setSelFont