_Application.AddChartAutoFormat Method
Adds a custom chart autoformat to the list of available chart autoformats.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub AddChartAutoFormat ( _
Chart As Object, _
Name As String, _
Description As Object _
)
'Usage
Dim instance As _Application
Dim Chart As Object
Dim Name As String
Dim Description As Object
instance.AddChartAutoFormat(Chart, Name, _
Description)
void AddChartAutoFormat(
Object Chart,
string Name,
Object Description
)
Parameters
Chart
Type: System.ObjectRequired Object. A chart that contains the format that will be applied when the new chart autoformat is applied.
Name
Type: System.StringRequired String. The name of the autoformat.
Description
Type: System.ObjectOptional Object. A description of the custom autoformat.