Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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}
{example}{code:csharp|title=C#}
bool paletteColor = clr.IsPaletteColor;
{code}
{code:vb.net
|title=vb.net
}
Dim paletteColor As Boolean = clr.IsPaletteColor{code}

{example}
Signature
C#C#
Wiki Markup
{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|Palette.SetColorAt(Int32, Int32, Int32, Int32)] or [Palette.GetColorAt|Palette.GetColorAt(Int32)] methods.{excerpt}
{signature:C#}
 public boolean IsPaletteColor{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property IsPaletteColor() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle