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 stored in Excel's default color palette. For .xlsx files, returns whether the color has been retrieved from the legacy palette. The only way to retrieve colors from the legacy palette is by using the Palette.SetColorAt or Palette.GetColorAt methods.

Signature
C#
C#
public boolean IsPaletteColor{ get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public ReadOnly Property IsPaletteColor() As Boolean
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
bool paletteColor = clr.IsPaletteColor;
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
Dim paletteColor As Boolean = clr.IsPaletteColor
{code} {example}