# GrapeCity.Spreadsheet.IRange.ApplyStyleFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_ApplyStyleFormat_" data-uid="GrapeCity.Spreadsheet.IRange.ApplyStyleFormat*">ApplyStyleFormat Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_ApplyStyleFormat_" data-uid="GrapeCity.Spreadsheet.IRange.ApplyStyleFormat*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_ApplyStyleFormat_GrapeCity_Spreadsheet_StyleFormat__" data-uid="GrapeCity.Spreadsheet.IRange.ApplyStyleFormat(GrapeCity.Spreadsheet.StyleFormat@)">ApplyStyleFormat(ref StyleFormat)</h4>
<div class="markdown level1 summary"><p>Applies the style format to the range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ApplyStyleFormat(ref StyleFormat styleFormat)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ApplyStyleFormat(ByRef styleFormat As StyleFormat)</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.Spreadsheet.StyleFormat.html">StyleFormat</a></td>
      <td><span class="parametername">styleFormat</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.StyleFormat.html">StyleFormat</a> value represents the cell style format.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
