Font (RichTextStyle - Java)

Read-Write. Font rich-text attribute (listed as follows).

Defined in

RichTextStyle

Data type

int

Syntax

public int getFont()
    throws NotesException
public void setFont(int value)
    throws NotesException

Legal values

  • RichTextStyle.FONT_COURIER
  • RichTextStyle.FONT_HELV
  • RichTextStyle.FONT_ROMAN
  • RichTextStyle.STYLE_NO_CHANGE to maintain the previous state
  • RichTextStyle.MAYBE to maintain previous state

Example