# GrapeCity.Documents.Text.CpalPalette

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_CpalPalette" data-uid="GrapeCity.Documents.Text.CpalPalette" class="text-break">CpalPalette Class
</h1>
  <div class="markdown level0 summary"><p>Contains a predefined number of colors. Used for drawing color fonts.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CpalPalette</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_CpalPalette_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CpalPalette</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CpalPalette</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_CpalPalette__ctor_System_UInt32___" data-uid="GrapeCity.Documents.Text.CpalPalette.#ctor(System.UInt32[])">
          <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.-ctor.html#GrapeCity_Documents_Text_CpalPalette__ctor_System_UInt32___">CpalPalette(uint[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.html">CpalPalette</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_CpalPalette_Colors" data-uid="GrapeCity.Documents.Text.CpalPalette.Colors">
          <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.Colors.html#GrapeCity_Documents_Text_CpalPalette_Colors">Colors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of palette entries. Each color has ARGB format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CpalPalette_Label" data-uid="GrapeCity.Documents.Text.CpalPalette.Label">
          <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.Label.html#GrapeCity_Documents_Text_CpalPalette_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a user interface string associated with the palette.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CpalPalette_UsableWithDarkBackground" data-uid="GrapeCity.Documents.Text.CpalPalette.UsableWithDarkBackground">
          <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.UsableWithDarkBackground.html#GrapeCity_Documents_Text_CpalPalette_UsableWithDarkBackground">UsableWithDarkBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a dark background such as black.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CpalPalette_UsableWithLightBackground" data-uid="GrapeCity.Documents.Text.CpalPalette.UsableWithLightBackground">
          <a class="xref" href="GrapeCity.Documents.Text.CpalPalette.UsableWithLightBackground.html#GrapeCity_Documents_Text_CpalPalette_UsableWithLightBackground">UsableWithLightBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a light background such as white.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
