Chart.SaveChartTemplate Method

Saves a custom chart template to the list of available chart templates.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub SaveChartTemplate ( _
    FileName As String _
)
'Usage
Dim instance As Chart
Dim FileName As String

instance.SaveChartTemplate(FileName)
void SaveChartTemplate(
    string FileName
)

Parameters

  • FileName
    Type: System.String
    Required String The name of the chart template.

Remarks

By default, this method saves the active 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.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.Word Namespace