ChartSheetBase.SaveChartTemplate Method (String)

 

Saves the chart on the ChartSheetBase as a custom template in the list of available chart templates.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

public void SaveChartTemplate(
	string filename
)

Parameters

filename
Type: System.String

The name of the new chart template.

By default, this method saves the current chart to the user's chart template directory. If a UNC or URL is specified, the chart will be saved to the specified location instead.

Return to top
Show: