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

...

Description

Excerpt

Returns a Palette object that represents the specified workbook's color palette.

Signature
C#
C#
 public Palette Palette{ get; }
{signature}{signature:
}
Signature
vb.net
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#}
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.

Example
Code Block
csharp
csharp
titleC#

Palette pal = wb.Palette;
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim pal As Palette = wb.Palette
{code} {example}