VCL, unit Vcl.Graphics

TFont

TFont

Declaration

TFont = class(TGraphicsObject)

Description

VCL class for defining font properties.

See Also

VCL TFont Documentation

Example

// Yellow text with red border
aFont := TFont.Create();
aFont.Name  := 'Tahoma';
aFont.Size  := 54;
aFont.Style := [fsBold];
aFont.Color := clYellow;
ImageEnView1.Proc.TextOutEx( 100, 100, 0, 0,
                             'ImageEn!', aFont,
                             0, iejLeft, ielTop,
                             3, clRed, 255, 255, clBlack, gpgNone );
aFont.Free();