Chart.ApplyChartTemplate Method

Applies a standard or custom chart type to a chart.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.String
    The file name for a chart template.

Remarks

This method does not support taking constants for native or combination charts.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace