# DDCssLib.CSSValue.SetIntValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="DDCssLib_CSSValue_SetIntValue_" data-uid="DDCssLib.CSSValue.SetIntValue*">SetIntValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="DDCssLib_CSSValue_SetIntValue_" data-uid="DDCssLib.CSSValue.SetIntValue*"></a>
<h4 id="DDCssLib_CSSValue_SetIntValue_System_Int32_DDCssLib_eCSSUnit_" data-uid="DDCssLib.CSSValue.SetIntValue(System.Int32,DDCssLib.eCSSUnit)">SetIntValue(int, eCSSUnit)</h4>
<div class="markdown level1 summary"><p>Specifies the value as an integer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetIntValue(int aValue, eCSSUnit aUnit)</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.int32">int</a></td>
      <td><span class="parametername">aValue</span></td>
      <td><p>The integer value to store.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="DDCssLib.eCSSUnit.html">eCSSUnit</a></td>
      <td><span class="parametername">aUnit</span></td>
      <td><p>The CSS unit type the value is.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
