共用方式為


ChartSheet.ApplyChartTemplate Method

Applies a standard or custom chart template to the chart.

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

Syntax

'Declaration
Sub ApplyChartTemplate ( _
    Filename As String _
)
void ApplyChartTemplate(
    string Filename
)

Parameters

  • Filename
    Type: System.String

    The file name for a chart template.

.NET Framework Security

See Also

Reference

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace