# GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation*">GetLocation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation(System.Double)">GetLocation(double)</h4>
<div class="markdown level1 summary"><p>Gets the relative location of the shape adjust handle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Point GetLocation(double zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetLocation(zoomFactor As Double) As Point</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">zoomFactor</span></td>
      <td><p>The zoom scale of spread view.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><p>A <span class="xref">GrapeCity.Drawing.Point</span> value.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_System_Double__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>[0, 0] is the upper-left corner of the shape.</p>
</div>


<a id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_ShapeAdjustHandle_GetLocation_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeAdjustHandle.GetLocation(System.Double,System.Double)">GetLocation(double, double)</h4>
<div class="markdown level1 summary"><p>Gets the relative location of the shape adjust handle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Point GetLocation(double newVal1, double newVal2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetLocation(newVal1 As Double, newVal2 As Double) As Point</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">newVal1</span></td>
      <td><p>The value</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">newVal2</span></td>
      <td><p>The value</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><p>A <span class="xref">GrapeCity.Drawing.Point</span> value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
