# GrapeCity.Spreadsheet.Drawing.IShapes.Range

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range*">Range Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapes_Range" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range">Range()</h4>
<div class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents all shapes in a <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShapeRange Range()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Range() As IShapeRange</code></pre>
</div>
<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><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a></td>
      <td><p>The subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Int32___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.Int32[])">Range(params int[])</h4>
<div class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShapeRange Range(params int[] indexes)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Range(ParamArray indexes As Integer()) As IShapeRange</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">indexes</span></td>
      <td><p>The individual shapes to be included in the range.</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><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a></td>
      <td><p>The subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_String___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.String[])">Range(params string[])</h4>
<div class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShapeRange Range(params string[] names)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Range(ParamArray names As String()) As IShapeRange</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">names</span></td>
      <td><p>The individual shapes to be included in the range.</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><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a></td>
      <td><p>The subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Object___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.Object[])">Range(params object[])</h4>
<div class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShapeRange Range(params object[] shapes)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Range(ParamArray shapes As Object()) As IShapeRange</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.object">object</a>[]</td>
      <td><span class="parametername">shapes</span></td>
      <td><p>The individual shapes to be included in the range. Any <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object, shape index or shape name can be used.</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><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a></td>
      <td><p>The subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
