.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Legend.Font Property

Provides access to font settings for the legend entries.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

ShapeTextFont Font { get; }
ReadOnly Property Font As ShapeTextFont
ShapeTextFont Font { get; }
ReadOnly Property Font As ShapeTextFont
ShapeTextFont Font { get; }
ReadOnly Property Font As ShapeTextFont

Property Value

Type Description
ShapeTextFont

A ShapeTextFont object containing font settings.

Property Value

Type Description
ShapeTextFont

A ShapeTextFont object containing font settings.

Property Value

Type Description
ShapeTextFont

A ShapeTextFont object containing font settings.

Remarks

The Font property specifies font settings for all legend entries. To change settings for a specific entry, use the Legend.CustomEntries property to add an entry to be modified at a required index and change its LegendEntry.Font settings.

Note

The Font property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.

See Also