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. For .xls files this means that the color is not part of Excel's default color palette. For .xlsx files, this means that the color has not been retrieved from the legacy palette (through Palette.SetColorAt or Palette.GetColorAt), and is not a system color.

Signature
C#
C#

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

Public ReadOnly Property IsCustomColor() As Boolean
Example
Code Block
csharp
csharp
titleC#
bool customColor = clr.IsCustomColor;
Code Block
vb.net
vb.net
titlevb.net
Dim customColor As Boolean = clr.IsCustomColor