Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns whether or not the color is a custom color.

Signature
C#
C#

 public boolean IsCustomColor{ get; }
Signature
vb.net
vb.net

Public ReadOnly Property IsCustomColor() As Boolean
Remarks

For .xls files this means that the a custom color is a color that is not part of Excel's default color palette. For .xlsx files, this means that the color a custom color is any color that has not been retrieved from the legacy palette (through Palette.SetColorAt or Palette.GetColorAt), and is not a system color.

Example
Code Block
csharp
csharp
titleC#

bool customColor = clr.IsCustomColor;
Code Block
vb.net
vb.net
titlevb.net

Dim customColor As Boolean = clr.IsCustomColor