FontStyle Property

Applies To

Font object.

Description

Returns or sets the font style. Read/write String.

Remarks

Changing this property may affect other Font properties (such as Bold and Italic).

See Also

Background property, Bold property, Color property, ColorIndex property, Font object, Italic property, Name property, OutlineFont property, Shadow property, Size property, Strikethrough property, Subscript property, Superscript property, Underline property.

Example

This example sets the font style for the chart title to bold and italic.

myChart.ChartTitle.Font.FontStyle = "Bold Italic"