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 a Palette object that represents the specified workbook's color palette.

Signature
C#C#
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}{signature:vb.net
vb.net
}
Public ReadOnly Property Palette() As Palette
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.

{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}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle