Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

ChartSheet.Name Property

Gets or sets the name of the chart sheet.

Namespace: DevExpress.Spreadsheet

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

Declaration

string Name { get; set; }

Property Value

Type Description
String

A String value which specifies the chart sheet name.

Remarks

When naming a chart sheet, take into account the following constraints:

  • A chart sheet name must not be equal to a name that is already contained in the collection of existing sheets (IWorkbook.Sheets).
  • A chart sheet name must not exceed 31 characters.
  • A chart sheet name must not contain the following symbols: , /, ?, :, *, [ or ]
  • A chart sheet name must not start and end with a single quote (‘).
  • A chart sheet name must not be an empty string.

To add a new chart sheet under the specified name to the workbook, use the ChartSheetCollection.Add or ChartSheetCollection.Insert method with the chart sheet name passed as a parameter.

See Also