ImageEn, unit iexRichEdit

TIETextAttributes.Style

TIETextAttributes.Style

Declaration

property Style: TFontStyles;

Description

Specify the style of the font as a set of values (fsBold, fsItalic, fsUnderline, fsStrikeOut). This is a convenient way to set multiple style attributes at once instead of using Bold, Italic, Underline and StrikeOut.

Example

// Make text bold and italic
IERichEdit1.SelAttributes.Style := [fsBold, fsItalic];