# GrapeCity.Spreadsheet.Charts.ICharts.Move

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Charts_ICharts_Move_" data-uid="GrapeCity.Spreadsheet.Charts.ICharts.Move*">Move Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Charts_ICharts_Move_" data-uid="GrapeCity.Spreadsheet.Charts.ICharts.Move*"></a>
<h4 id="GrapeCity_Spreadsheet_Charts_ICharts_Move_System_String_System_String_" data-uid="GrapeCity.Spreadsheet.Charts.ICharts.Move(System.String,System.String)">Move(string, string)</h4>
<div class="markdown level1 summary"><p>Moves the chart to another location in the workbook.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Move(string before = null, string after = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Move(Optional before As String = Nothing, Optional after As String = Nothing)</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.string">string</a></td>
      <td><span class="parametername">before</span></td>
      <td><p>The sheet before which the moved chart will be placed. You cannot specify <code class="paramref">before</code> if you specify <code class="paramref">after</code>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">after</span></td>
      <td><p>The sheet after which the moved chart will be placed. You cannot specify <code class="paramref">after</code> if you specify <code class="paramref">before</code>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Charts_ICharts_Move_" data-uid="GrapeCity.Spreadsheet.Charts.ICharts.Move*"></a>
<h4 id="GrapeCity_Spreadsheet_Charts_ICharts_Move_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.Charts.ICharts.Move(System.Int32,System.Int32)">Move(int, int)</h4>
<div class="markdown level1 summary"><p>Moves the chart to another location in the workbook.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Move(int before = -1, int after = -1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Move(Optional before As Integer = -1, Optional after As Integer = -1)</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">before</span></td>
      <td><p>The sheet before which the moved chart will be placed. You cannot specify <code class="paramref">before</code> if you specify <code class="paramref">after</code>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">after</span></td>
      <td><p>The sheet after which the moved chart will be placed. You cannot specify <code class="paramref">after</code> if you specify <code class="paramref">before</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
