# GrapeCity.Documents.Word.Fields.PageRefFieldOptions.DisplayRelative

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Fields_PageRefFieldOptions_DisplayRelative_" data-uid="GrapeCity.Documents.Word.Fields.PageRefFieldOptions.DisplayRelative*">DisplayRelative Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Fields_PageRefFieldOptions_DisplayRelative_" data-uid="GrapeCity.Documents.Word.Fields.PageRefFieldOptions.DisplayRelative*"></a>
<h4 id="GrapeCity_Documents_Word_Fields_PageRefFieldOptions_DisplayRelative" data-uid="GrapeCity.Documents.Word.Fields.PageRefFieldOptions.DisplayRelative">DisplayRelative</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether to display the position relative to the source bookmark.</p>
<p>Default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p> 
<p>If the PAGEREF field is on the same page as the bookmark, it omits "on page #" and returns "above" or "below" only.</p>
<p>If the PAGEREF field is not on the same page as the bookmark, the string "on page #" is used.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool DisplayRelative { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property DisplayRelative As Boolean</code></pre>
</div>
</div>
