Share via


Chart.SetDefaultChart Method

Specifies the name of the chart template that Microsoft Word uses when creating new charts.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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
    Required. Object Specifies the name of the default chart template that will be used when creating 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.Word Namespace