# GrapeCity.Documents.Word.Settings.RemapColor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Settings_RemapColor_" data-uid="GrapeCity.Documents.Word.Settings.RemapColor*">RemapColor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Settings_RemapColor_" data-uid="GrapeCity.Documents.Word.Settings.RemapColor*"></a>
<h4 id="GrapeCity_Documents_Word_Settings_RemapColor_GrapeCity_Documents_Word_ThemeColorId_GrapeCity_Documents_Word_ThemeColorSchemeId_" data-uid="GrapeCity.Documents.Word.Settings.RemapColor(GrapeCity.Documents.Word.ThemeColorId,GrapeCity.Documents.Word.ThemeColorSchemeId)">RemapColor(ThemeColorId, ThemeColorSchemeId)</h4>
<div class="markdown level1 summary"><p>Sets the color mapping layer which allows a user to define colors for background and text.
This allows for swapping out of light/dark colors for backgrounds and the text on top of the background in order to maintain readability of the text on a deeper level.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RemapColor(ThemeColorId themeColorId, ThemeColorSchemeId themeColorSchemeId)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RemapColor(themeColorId As ThemeColorId, themeColorSchemeId As ThemeColorSchemeId)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ThemeColorId.html">ThemeColorId</a></td>
      <td><span class="parametername">themeColorId</span></td>
      <td><p>The theme color id to map.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ThemeColorSchemeId.html">ThemeColorSchemeId</a></td>
      <td><span class="parametername">themeColorSchemeId</span></td>
      <td><p>the theme color scheme id to map.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
