# GrapeCity.Documents.Word.PageBorderCollection.SurroundsHeader

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_PageBorderCollection_SurroundsHeader_" data-uid="GrapeCity.Documents.Word.PageBorderCollection.SurroundsHeader*">SurroundsHeader Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_PageBorderCollection_SurroundsHeader_" data-uid="GrapeCity.Documents.Word.PageBorderCollection.SurroundsHeader*"></a>
<h4 id="GrapeCity_Documents_Word_PageBorderCollection_SurroundsHeader" data-uid="GrapeCity.Documents.Word.PageBorderCollection.SurroundsHeader">SurroundsHeader</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether a page border encompasses the document header.</p>
<p>
This property applies to all document sections and has effect only for sections where
<a class="xref" href="GrapeCity.Documents.Word.PageBorderCollection.OffsetFrom.html#GrapeCity_Documents_Word_PageBorderCollection_OffsetFrom">OffsetFrom</a> property is equal to <a class="xref" href="GrapeCity.Documents.Word.PageBorderOffsetFrom.html#GrapeCity_Documents_Word_PageBorderOffsetFrom_Text">Text</a>.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SurroundsHeader { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property SurroundsHeader As Boolean</code></pre>
</div>
</div>
