Sets or returns a boolean that represents whether or not Word will wrap trailing spaces at the end of a line in this document.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean WrapTrailingSpaces{ get; set; }
</pre></td></tr></table>
<p>Public Property WrapTrailingSpaces() As Boolean</p>

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Wrap trailing spaces to next line


          //--- Return WrapTrailingSpaces
          bool wrapTrailingSpaces = cs.WrapTrailingSpaces;

          //--- Set WrapTrailingSpaces
          cs.WrapTrailingSpaces = true;
        

          '--- Return WrapTrailingSpaces
          Dim wrapTrailingSpaces As Boolean = cs.WrapTrailingSpaces

          '--- Set WrapTrailingSpaces
          cs.WrapTrailingSpaces = True