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

...

a custom color is a color that is not part of Excel's default color palette. For .xlsx files,

...

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.

...


 public boolean IsCustomColor{ get; }

...


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