# GrapeCity.Documents.Word.ContentObject.GetRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ContentObject_GetRange_" data-uid="GrapeCity.Documents.Word.ContentObject.GetRange*">GetRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ContentObject_GetRange_" data-uid="GrapeCity.Documents.Word.ContentObject.GetRange*"></a>
<h4 id="GrapeCity_Documents_Word_ContentObject_GetRange" data-uid="GrapeCity.Documents.Word.ContentObject.GetRange">GetRange()</h4>
<div class="markdown level1 summary"><p>Creates and returns a <a class="xref" href="GrapeCity.Documents.Word.Range.html">Range</a> associated with this content object.</p>
<p>
To get a range that can be used after the object has been deleted,
see <a class="xref" href="GrapeCity.Documents.Word.ContentObject.GetPersistentRange.html#GrapeCity_Documents_Word_ContentObject_GetPersistentRange">GetPersistentRange()</a>.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Range GetRange()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetRange() As Range</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.Documents.Word.Range.html">Range</a></td>
      <td><p>A new <a class="xref" href="GrapeCity.Documents.Word.Range.html">Range</a> instance associated with this content object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
