FontStyle (ViewColumn - Java)

Read-write. The font style of data in a column.

Note: This property is read-write with Release 6.5.

Defined in

ViewColumn

Data type

int

Syntax

public int getFontStyle()
    throws NotesException
public void setFontStyle(int style)
    throws NotesException

Legal values

  • ViewColumn.FONT_PLAIN
    Note: This value is new with Release 6.5.
  • ViewColumn.FONT_BOLD
  • ViewColumn.FONT_ITALIC
  • ViewColumn.FONT_UNDERLINE
  • ViewColumn.FONT_STRIKEOUT
  • ViewColumn.FONT_STRIKETHROUGH
    Note: This value is new with Release 6.5.

Usage

The font style can have multiple values. For example, the style might be ViewColumn.FONT_BOLD and ViewColumn.FONT_ITALIC.

You can use IsFontBold, IsFontItalic, IsFontStrikethrough, and IsFontUnderline to query and set the font styles.

Example