Chart.ApplyCustomType Method
Applies a standard or custom chart type to a chart.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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
- ChartType
Type: XlChartType
Required XlChartType A standard chart type
- TypeName
Type: System.Object
Required Object A standard chart type