Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Returns a [Palette|Workbook.Palette] object that represents the specified workbook's color palette. {excerpt}
{signature:C#}
 public Palette Palette{ get; }
{signature}{signature:vb.net}
Public ReadOnly Property Palette() As Palette
{signature}
{remarks}
Each Excel workbook has a single color palette that manages formatting colors and some drawing layer colors. A color palette contains 56 colors that may be referenced. Each of these 56 colors may be customized, but changing a color in the palette will affect all formatting that uses the referenced color.
{remarks}
{example}{code:csharp|title=C#}
Palette pal = wb.Palette;{code}
{code:vb.net|title=vb.net}
Dim pal As Palette = wb.Palette{code}

{example}