# GrapeCity.Documents.Excel.IColorScale

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IColorScale" data-uid="GrapeCity.Documents.Excel.IColorScale" class="text-break">IColorScale Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a color scale conditional formatting rule.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IColorScale_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IColorScale</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IColorScale</code></pre>
  </div>
  <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_Excel_IColorScale_AppliesTo" data-uid="GrapeCity.Documents.Excel.IColorScale.AppliesTo">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.AppliesTo.html#GrapeCity_Documents_Excel_IColorScale_AppliesTo">AppliesTo</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a Range object that specifies the cell range to which the formatting rule is applied.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_ColorScaleCriteria" data-uid="GrapeCity.Documents.Excel.IColorScale.ColorScaleCriteria">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.ColorScaleCriteria.html#GrapeCity_Documents_Excel_IColorScale_ColorScaleCriteria">ColorScaleCriteria</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a ColorScaleCriteria object, which is a collection of individual ColorScaleCriterion objects. The ColorScaleCriterion
object specifies the type, value, and color of threshold criteria used in the color scale conditional format (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_Priority" data-uid="GrapeCity.Documents.Excel.IColorScale.Priority">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.Priority.html#GrapeCity_Documents_Excel_IColorScale_Priority">Priority</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when
multiple conditional formatting rules exist in a worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_StopIfTrue" data-uid="GrapeCity.Documents.Excel.IColorScale.StopIfTrue">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.StopIfTrue.html#GrapeCity_Documents_Excel_IColorScale_StopIfTrue">StopIfTrue</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_Type" data-uid="GrapeCity.Documents.Excel.IColorScale.Type">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.Type.html#GrapeCity_Documents_Excel_IColorScale_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of this conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_Delete" data-uid="GrapeCity.Documents.Excel.IColorScale.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.Delete.html#GrapeCity_Documents_Excel_IColorScale_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_FromJson_System_String_" data-uid="GrapeCity.Documents.Excel.IColorScale.FromJson(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.FromJson.html#GrapeCity_Documents_Excel_IColorScale_FromJson_System_String_">FromJson(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates the conditional format from the json string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_SetFirstPriority" data-uid="GrapeCity.Documents.Excel.IColorScale.SetFirstPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.SetFirstPriority.html#GrapeCity_Documents_Excel_IColorScale_SetFirstPriority">SetFirstPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the priority value for this conditional formatting rule to &quot;1&quot; so that
it will be evaluated before all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_SetLastPriority" data-uid="GrapeCity.Documents.Excel.IColorScale.SetLastPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.SetLastPriority.html#GrapeCity_Documents_Excel_IColorScale_SetLastPriority">SetLastPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the evaluation order for this conditional formatting rule so it is evaluated
after all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IColorScale_ToJson" data-uid="GrapeCity.Documents.Excel.IColorScale.ToJson">
          <a class="xref" href="GrapeCity.Documents.Excel.IColorScale.ToJson.html#GrapeCity_Documents_Excel_IColorScale_ToJson">ToJson()</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a json string from the conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
