RichEdit.getSelColor

Overview | Methods | This Package | All Packages

RichEdit.getSelColor

Retrieves the color of the currently selected text.

Syntax

public Color getSelColor()

Return Value

Returns a Color object that specifies the color of the selected text.

Remarks

If no text is selected, this method returns the color at the insertion point. If the current selection includes more than one color, this method returns null.

See Also   setSelColor