# GrapeCity.Spreadsheet.Drawing.IShapeBase.IncrementRotation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_IShapeBase_IncrementRotation_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeBase.IncrementRotation*">IncrementRotation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_IShapeBase_IncrementRotation_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeBase.IncrementRotation*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapeBase_IncrementRotation_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeBase.IncrementRotation(System.Double)">IncrementRotation(double)</h4>
<div class="markdown level1 summary"><p>Changes the rotation of the specified shape around the z-axis by the specified number of degrees.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void IncrementRotation(double increment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub IncrementRotation(increment 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.double">double</a></td>
      <td><span class="parametername">increment</span></td>
      <td><p>Specifies how far the shape is to be rotated horizontally, in degrees. A positive value rotates the shape clockwise; a negative value rotates it counterclockwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Drawing_IShapeBase_IncrementRotation_System_Double__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeBase.Rotation.html#GrapeCity_Spreadsheet_Drawing_IShapeBase_Rotation">Rotation</a> property to set the absolute rotation of the shape.
<p>To rotate a three-dimensional shape around the x-axis or the y-axis, use the IncrementRotationX method or the IncrementRotationY method.</p>
</div>
</div>
