# GrapeCity.Spreadsheet.ISparkline.ModifyLocation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_ISparkline_ModifyLocation_" data-uid="GrapeCity.Spreadsheet.ISparkline.ModifyLocation*">ModifyLocation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_ISparkline_ModifyLocation_" data-uid="GrapeCity.Spreadsheet.ISparkline.ModifyLocation*"></a>
<h4 id="GrapeCity_Spreadsheet_ISparkline_ModifyLocation_System_String_" data-uid="GrapeCity.Spreadsheet.ISparkline.ModifyLocation(System.String)">ModifyLocation(string)</h4>
<div class="markdown level1 summary"><p>Modifies the location of a single sparkline.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ModifyLocation(string location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ModifyLocation(location As String)</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">location</span></td>
      <td><p>The cell that contains the sparkline.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ISparkline_ModifyLocation_" data-uid="GrapeCity.Spreadsheet.ISparkline.ModifyLocation*"></a>
<h4 id="GrapeCity_Spreadsheet_ISparkline_ModifyLocation_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.ISparkline.ModifyLocation(System.Int32,System.Int32)">ModifyLocation(int, int)</h4>
<div class="markdown level1 summary"><p>Modifies the location of a single sparkline.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ModifyLocation(int row, int column)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ModifyLocation(row As Integer, column As Integer)</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">row</span></td>
      <td><p>An integer value indicates the row of new location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>An integer value indicates the column of new location.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
