# FarPoint.Web.Spread.ConditionalFormattingIconValue.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor*">ConditionalFormattingIconValue Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_System_Object_FarPoint_Web_Spread_ConditionalFormattingValueType_System_Boolean_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor(System.Object,FarPoint.Web.Spread.ConditionalFormattingValueType,System.Boolean)">ConditionalFormattingIconValue(object, ConditionalFormattingValueType, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingIconValue.html">ConditionalFormattingIconValue</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ConditionalFormattingIconValue(object value, ConditionalFormattingValueType type, bool isGreaterOrEquals)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, type As ConditionalFormattingValueType, isGreaterOrEquals As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingIconValue accepts only Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isGreaterOrEquals</span></td>
      <td><p>if set to <code>true</code> is greater or equal.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_System_Object_FarPoint_Web_Spread_ConditionalFormattingValueType_System_Boolean_FarPoint_Web_Spread_ConditionalFormattingIcon_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor(System.Object,FarPoint.Web.Spread.ConditionalFormattingValueType,System.Boolean,FarPoint.Web.Spread.ConditionalFormattingIcon)">ConditionalFormattingIconValue(object, ConditionalFormattingValueType, bool, ConditionalFormattingIcon)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingIconValue.html">ConditionalFormattingIconValue</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ConditionalFormattingIconValue(object value, ConditionalFormattingValueType type, bool isGreaterOrEquals, ConditionalFormattingIcon icon)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, type As ConditionalFormattingValueType, isGreaterOrEquals As Boolean, icon As ConditionalFormattingIcon)</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingIconValue accepts only Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isGreaterOrEquals</span></td>
      <td><p>if set to <code>true</code> is greater or equal.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingIcon.html">ConditionalFormattingIcon</a></td>
      <td><span class="parametername">icon</span></td>
      <td><p>The icon.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingIconValue__ctor_System_Object_FarPoint_Web_Spread_ConditionalFormattingValueType_System_Boolean_System_String_" data-uid="FarPoint.Web.Spread.ConditionalFormattingIconValue.#ctor(System.Object,FarPoint.Web.Spread.ConditionalFormattingValueType,System.Boolean,System.String)">ConditionalFormattingIconValue(object, ConditionalFormattingValueType, bool, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingIconValue.html">ConditionalFormattingIconValue</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ConditionalFormattingIconValue(object value, ConditionalFormattingValueType type, bool isGreaterOrEquals, string iconUrl)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, type As ConditionalFormattingValueType, isGreaterOrEquals As Boolean, iconUrl As String)</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingIconValue accepts only Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isGreaterOrEquals</span></td>
      <td><p>if set to <code>true</code> is greater or equal.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">iconUrl</span></td>
      <td><p>The icon url.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
