Sign in Join
FPDoc Onlineexperiment

TFont.Style property

Member of TFontpublishedIn unit Graphics

Styles applied to the font face.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.