IChartPlacedItem.Font

Syntax

Font: IGxFont;

Description

The Font property determines text font.

Example

This example assumes that there is the Caption object of the IChartCaption type.

Sub Font;

Var

Caption : IChartCaption;

Begin

Caption.Font := New GxFont.Create("Arial Black", 10, 3 As GxFontStyle, 3 As GxUnit);

End Sub Font;

Executing the example will apply the Arial Black font of the specified style and size to a chart caption.

See also:

IChartPlacedItem