Edit

Share via


_Chart.ApplyCustomType(XlChartType, Object) Method

Definition

Applies a standard or custom chart type to a chart.

public void ApplyCustomType (Microsoft.Office.Interop.Excel.XlChartType ChartType, object TypeName);
Public Sub ApplyCustomType (ChartType As XlChartType, Optional TypeName As Object)

Parameters

ChartType
XlChartType

Required XlChartType. A standard chart type.

TypeName
Object

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

Applies to