NativeExcel for .Net Developer's Reference

IWorkbook.ResetColorsMethod

Resets the color palette to the default colors.

[Visual Basic]
SubResetColors()
[C#]
voidResetColors();
[C++]
voidResetColors();
[JScript]
functionResetColors();

Example

This example resets the color palette in the workbook.

[C#]
book.ResetColors(); 
[VisualBasic]
book.ResetColors()
[C++]
book->ResetColors();

See Also

IWorkbook Interface | NativeExcel Namespace | IPalette Interface | Colors Property