Vcl.Graphics.TFont.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TFontStyles read GetStyle write SetStyle;

C++

__property System::Uitypes::TFontStyles Style = {read=GetStyle, write=SetStyle, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TFont

Description

Determines whether the font is normal, italic, underlined, bold, and so on.

Use Style to add special characteristics to characters that use the font. Style is a set containing zero or more values from the following:



Value Meaning

fsBold

The font is boldfaced.

fsItalic

The font is italicized.

fsUnderline

The font is underlined.

fsStrikeOut

The font is displayed with a horizontal line through it.



See Also

Code Examples