[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TFont.Style

Styles applied to the font face.

## Declaration

Source position: graphics.pp line 583

`published property TFont.Style : TFontStyles read GetStyle write SetStyle default [];`

## Description

Style is a TFontStyles property which indicates the font styles applied to the font face. The Style set contains 0 (zero ) or more values from the TFontStyle enumeration, including:

fsBold
  Bold font style
fsItalic
  Italic font style
fsStrikeOut
  Strike-out (or strike-through) font style
fsUnderline
  Underline font style

The default value for the property is an empty set ([]), and indicates that no styles are applied to the font face.

Setting a new value for the property causes the font Reference to be re-created. The Change method is called to signal the OnChange event handler (when assigned).

## See also

TFontStyles |  | Set type used to store TFontStyle value(s).
TFontStyle |  | Represents styles or variants for a font.