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
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents whether or not Word will display the footer inside the page border for a document.{excerpt}
{signature:C#}
 public boolean IncludeFooterInBorder{ get; set; }
{signature}{signature:vb.net}
Public Property IncludeFooterInBorder() As Boolean
{signature}
{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 footer

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

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

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

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

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

{example}