# C1.WPF.FlexGrid.C1FlexSheet.SetCellAngle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexSheet_SetCellAngle_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.SetCellAngle*">SetCellAngle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexSheet_SetCellAngle_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.SetCellAngle*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexSheet_SetCellAngle_System_Collections_Generic_IEnumerable_C1_WPF_FlexGrid_CellRange__System_Double_System_Double_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.SetCellAngle(System.Collections.Generic.IEnumerable{C1.WPF.FlexGrid.CellRange},System.Double,System.Double)">SetCellAngle(IEnumerable&lt;CellRange&gt;, double, double)</h4>
<div class="markdown level1 summary"><p>Set rotate text for cell</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetCellAngle(IEnumerable&lt;CellRange&gt; cells, double angle, double extra)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetCellAngle(cells As IEnumerable(Of CellRange), angle As Double, extra As Double)</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.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="../C1.WPF.FlexGrid.4.6.2/C1.WPF.FlexGrid.CellRange.html">CellRange</a>&gt;</td>
      <td><span class="parametername">cells</span></td>
      <td><p>cells to be rotate</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">angle</span></td>
      <td><p>value of angle</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">extra</span></td>
      <td><p>Extra height to add to the row, in pixels.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
