Partager via


ChartSheetBase.SetDefaultChart(Object) Method

Definition

Specifies the name of the chart template that Microsoft Office Excel uses when creating new charts.

public:
 void SetDefaultChart(System::Object ^ name);
public void SetDefaultChart (object name);
member this.SetDefaultChart : obj -> unit
Public Sub SetDefaultChart (name As Object)

Parameters

name
Object

A string that indicates the name of the default chart template that will be used when creating new charts. This name can identify a chart in the gallery for a user-defined template, or it can be one of the XlChartType values that specifies a built-in chart template.

Applies to