# GrapeCity.Spreadsheet.Drawing.IShapeRange.ZOrderPosition

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_IShapeRange_ZOrderPosition_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.ZOrderPosition*">ZOrderPosition Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_IShapeRange_ZOrderPosition_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.ZOrderPosition*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapeRange_ZOrderPosition" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.ZOrderPosition">ZOrderPosition</h4>
<div class="markdown level1 summary"><p>Gets the position of the specified shape in the z-order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int ZOrderPosition { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">ReadOnly Property ZOrderPosition As Integer</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>The position of the specified shape in the z-order.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Drawing_IShapeRange_ZOrderPosition_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The value is on base-1.
<p>To set the shape's position in the z-order, use the ZOrder method.</p><p>A shape's position in the z-order corresponds to the shape's index number in the Shapes collection.
Whenever you add a new shape to a collection, it's added to the front of the z-order by default.</p>
</div>
</div>
