# GrapeCity.Spreadsheet.GradientType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Spreadsheet_GradientType" data-uid="GrapeCity.Spreadsheet.GradientType" class="text-break">GradientType Enum
</h1>
  <div class="markdown level0 summary"><p>Type of gradient fill being used, either linear or path.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_GradientType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GradientType : short</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GradientType As Short</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_GradientType_Linear">Linear</td>
        <td><p>This gradient fill is of linear gradient type.
Linear gradient type means that the transition from one color to the next is along a line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_GradientType_Rectangular">Rectangular</td>
        <td><p>This gradient fill is of path gradient type.
Rectangular gradient type means the that the boundary of transition from one color to the next is a rectangle,
defined by top, bottom, left, and right attributes on the gradientFill element.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
