Dela via


Chart.ClearToMatchStyle Method (2007 System)

Clears the chart elements formatting to automatic.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub ClearToMatchStyle
'Usage
Dim instance As Chart

instance.ClearToMatchStyle()
public void ClearToMatchStyle()
public:
void ClearToMatchStyle()
public function ClearToMatchStyle()

Remarks

Use this method to reset the chart elements formatting to automatic. If you use this method, all formatting (including overrides) will be reset.

.NET Framework Security

See Also

Reference

Chart Class

Chart Members

Microsoft.Office.Tools.Excel Namespace