Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will display the header inside the page border for a document.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean IncludeHeaderInBorder{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property IncludeHeaderInBorder() As Boolean
{signature}
{remarks}This option is set to {{true}} by default.

MS Word equivalent: Format menu > Border and Boolean</p>
Remarks

This option is set to true by default.

MS Word equivalent: Format menu > Border and Shading...

>

Page

Border

tab

>

Options...

button

>

Options

section

>

Surround

header {remarks} {example}{code:csharp|title=C#}

header

Example
Code Block
csharp
csharp
titleC#


          //--- Return IncludeHeaderInBorder
          bool includeHeader = viewSettings.IncludeHeaderInBorder;

          //--- Set IncludeHeaderInBorder
          viewSettings.IncludeHeaderInBorder = false;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return IncludeHeaderInBorder
          Dim includeHeader As Boolean = viewSettings.IncludeHeaderInBorder

          '--- Set IncludeHeaderInBorder
          viewSettings.IncludeHeaderInBorder = False
        
{code} {example}