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 suppress paragraph space before and space after options after a page break in this document.{excerpt}
{signature:C#}
 public boolean SuppressSpaceAfterPageBreak{ get; set; }
{signature}{signature:vb.net}
Public Property SuppressSpaceAfterPageBreak() As Boolean
{signature}
{remarks}MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Suppress Space Before after a hard page or column break

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

          //--- Return SuppressSpaceAfterPageBreak
          bool suppressSpaceAfterPageBreak = cs.SuppressSpaceAfterPageBreak;

          //--- Set NoTabForIndent
          cs.SuppressSpaceAfterPageBreak = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return SuppressSpaceAfterPageBreak
          Dim noSpaceForRaisedLower As Boolean = cs.SuppressSpaceAfterPageBreak

          '--- Set SuppressSpaceAfterPageBreak
          cs.SuppressSpaceAfterPageBreak = True
        {code}

{example}