# FarPoint.Web.Spread.SheetSkin.Apply

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_SheetSkin_Apply_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply*">Apply Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_SheetSkin_Apply_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply*"></a>
<h4 id="FarPoint_Web_Spread_SheetSkin_Apply_FarPoint_Web_Spread_FpSpread_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply(FarPoint.Web.Spread.FpSpread)">Apply(FpSpread)</h4>
<div class="markdown level1 summary"><p>Applies the skin to the active sheet in the specified Spread component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Apply(FpSpread spread)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Apply(spread As FpSpread)</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="FarPoint.Web.Spread.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>Spread component to which to apply the skin</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_SheetSkin_Apply_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply*"></a>
<h4 id="FarPoint_Web_Spread_SheetSkin_Apply_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply(FarPoint.Web.Spread.SheetView)">Apply(SheetView)</h4>
<div class="markdown level1 summary"><p>Applies the skin to the specified sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Apply(SheetView sheet)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Apply(sheet As SheetView)</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="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Sheet to which to apply the skin</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_SheetSkin_Apply_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply*"></a>
<h4 id="FarPoint_Web_Spread_SheetSkin_Apply_System_Collections_ICollection_" data-uid="FarPoint.Web.Spread.SheetSkin.Apply(System.Collections.ICollection)">Apply(ICollection)</h4>
<div class="markdown level1 summary"><p>Applies the skin to the specified collection of sheets.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Apply(ICollection sheets)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Apply(sheets As ICollection)</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.collections.icollection">ICollection</a></td>
      <td><span class="parametername">sheets</span></td>
      <td><p>Array of sheets to which to apply the skin</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No sheet collection specified or specified collection is null</p>
</td>
    </tr>
  </tbody>
</table>
</div>
