Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will supress extra line spacing at the bottom of the page for this document.

Signature
C#
C#

 public boolean SuppressExtraAfter{ get; set; }
Signature
vb.net
vb.net

Public Property SuppressExtraAfter() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Suppress extra line spacing at bottom of page

Example
Code Block
csharp
csharp
titleC#
            //--- Return SuppressExtraAfter
          bool suppressExtraAfter = cs.SuppressExtraAfter;

          //--- Set SuppressExtraAfter
          cs.SuppressExtraAfter = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return SuppressExtraAfter
          Dim suppressExtraAfter As Boolean = cs.SuppressExtraAfter

          '--- Set SuppressExtraAfter
          cs.SuppressExtraAfter = True