Share via


_Chart.ApplyCustomType 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 ApplyCustomType ( _
    ChartType As XlChartType, _
    TypeName As Object _
)
'Usage
Dim instance As _Chart
Dim ChartType As XlChartType
Dim TypeName As Object

instance.ApplyCustomType(ChartType, TypeName)
void ApplyCustomType(
    XlChartType ChartType,
    Object TypeName
)

Parameters

  • TypeName
    Type: System.Object

    Optional object (used only with a Chart object). The name of the custom chart type if ChartType specifies a custom chart gallery.

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace