Поделиться через


Chart.SetDefaultChart Method

Specifies the name of the chart template that Microsoft PowerPoint uses when it creates new charts.

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

Syntax

'Declaration
Sub SetDefaultChart ( _
    Name As Object _
)
'Usage
Dim instance As Chart
Dim Name As Object

instance.SetDefaultChart(Name)
void SetDefaultChart(
    Object Name
)

Parameters

  • Name
    Type: System.Object
    Specifies the name of the default chart template that PowerPoint uses when it creates new charts. This name can be set to either the name of a user-defined chart template in the gallery or a special XlChartGallery constant, xlBuiltIn, to specify a built-in chart template.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace