Microsoft SDK for Java

RichEdit.setSelFont

Sets the font used to display the currently selected characters, or the characters immediately following the insertion point.

Syntax

public void setSelFont( Font font )

Parameters

font

A Font object that describes the font to apply to the selection.

Remarks

If no text is currently selected, the font is applied to the current insertion point, and to all text that the user types after the insertion point. The new font is in effect only until the insertion point changes.

See Also   getSelFont

© 1999 Microsoft Corporation. All rights reserved. Terms of use.