Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Creates a new chartsheet after the last existing worksheet in this workbook.

Signature
C#
C#
 public Chartsheet CreateChartsheet(ChartType type, System.String name)
Signature
vb.net
vb.net
Public Function CreateChartsheet(ByVal type As ChartType, ByVal name As String) As Chartsheet
Parameters
Param
type
type

The type of chart to create. Specify both a chart type and sub-type, for example, ChartType.Bar.Clustered.

Param
name
name

Name for the new chartsheet.

Returns

A Chartsheet object representing the chartsheet created.

Example
Code Block
csharp
csharp
titleC#
ChartSheet cs = 
     sheets.CreateChartsheet(ChartType.Bar.Clustered, "NewSheet");
Code Block
vb.net
vb.net
titlevb.net
Dim cs As ChartSheet = _
     sheets.CreateChartsheet(ChartType.Bar.Clustered, "NewSheet")