_Chart.ApplyChartTemplate Method
Applies a standard or custom chart type to a chart.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub ApplyChartTemplate ( _
Filename As String _
)
'Usage
Dim instance As _Chart
Dim Filename As String
instance.ApplyChartTemplate(Filename)
void ApplyChartTemplate(
string Filename
)
Parameters
Filename
Type: System.StringThe file name for a chart template.
Remarks
This method does not support taking constants for native or combination charts.