Partager via


Chart.ChartType Property

Returns or sets the chart type. Read/write XlChartType.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property ChartType As XlChartType
    Get
    Set
'Usage
Dim instance As Chart
Dim value As XlChartType

value = instance.ChartType

instance.ChartType = value
XlChartType ChartType { get; set; }

Property Value

Type: Microsoft.Office.Core.XlChartType

Remarks

Some chart types are not available for PivotChart reports.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace