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#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean IsPaletteColor{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property IsPaletteColor() As Boolean</p>Boolean
Example
Code Block
csharp
csharp
titleC#

bool paletteColor = clr.IsPaletteColor;
Code Block
vb.net
vb.net
titlevb.net

Dim paletteColor As Boolean = clr.IsPaletteColor