# GrapeCity.Documents.Word.LocationRelation

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Word_LocationRelation" data-uid="GrapeCity.Documents.Word.LocationRelation" class="text-break">LocationRelation Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the result of comparing two range locations.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_LocationRelation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum LocationRelation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum LocationRelation</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_AdjacentAfter">AdjacentAfter</td>
        <td><p>This instance occurs after, and is adjacent to, the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_AdjacentBefore">AdjacentBefore</td>
        <td><p>This instance occurs before, and is adjacent to, the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_After">After</td>
        <td><p>This instance occurs after the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_Before">Before</td>
        <td><p>This instance occurs before the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_Contains">Contains</td>
        <td><p>This instance contains the other range, and both start and end of this instance
are outside the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_ContainsEnd">ContainsEnd</td>
        <td><p>This instance contains the other range and both have the same end,
but different start locations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_ContainsStart">ContainsStart</td>
        <td><p>This instance contains the other range and both have the same start,
but different end locations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_Equal">Equal</td>
        <td><p>This instance and the other range represent the same range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_Inside">Inside</td>
        <td><p>This instance is inside the other range, and both start and end of this instance
are inside the other range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_InsideEnd">InsideEnd</td>
        <td><p>This instance is inside the other range and both have the same end,
but different start locations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_InsideStart">InsideStart</td>
        <td><p>This instance is inside the other range and both have the same start,
but different end locations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_OverlapsAfter">OverlapsAfter</td>
        <td><p>This instance starts inside the other range and overlaps its end.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_OverlapsBefore">OverlapsBefore</td>
        <td><p>This instance starts before the other range and overlaps its start.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_LocationRelation_Unrelated">Unrelated</td>
        <td><p>This instance and the other range are in different bodies.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
