Skip to end of metadata
Go to start of metadata

Description

Creates a new Chartsheet at a specified position in the workbook.

C#
vb.net

Parameters

type
The type of chart to create. Specify both a chart type and sub-type, for example, ChartType.Bar.Clustered.
name
Name for the new chartsheet.
position
The 0-based position at which to insert the chartsheet. If position is greater than Worksheets.Count, an exception will be thrown.

Returns

A Chartsheet object representing the chartsheet created.

Examples

C#
vb.net
  • No labels