TiPlotLabel.Font

TiPlotLabel See Also

Controls the font attributes of the Label Object text.

property Font : TFont;

Description

Use Font to change the font attributes of the Label Object text. To change to a new font, specify a new TFontobject. To modify a font, change the value of the Color, Height, Name, Pitch, Size, or Style of the TFontobject.

Note: for backward compatibility, the TitleFont property will always modify the Font property of Label Index 0.

Example

Delphi

iComponent.Labels[0].Font.Name := 'MS Sans Serif';

C++ Builder

iComponent->Labels[0]->Font->Name = "MS Sans Serif";

Contents | Index | Previous | Next