Description


TFont describes font characteristics used when displaying text.



Properties

 Property

 Description

 Color: TColor

 Specifies the color of the text.

 Name: String

 Identifies the typeface of the font.

 Size: Integer

 Specifies the height of the font in points.

 Style: TFontStyles

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




Example


Form1.Button1.Font.Color := clRed;
Form1.Button1.Font.Name := 'Arial';
Form1.Button1.Font.Size := 14;
Form1.Button1.Font.Style := fsBold + fsItalic + fsUnderline + fsStrikeOut;