Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean that represents whether or not Word will underline trailing spaces for this document.
C#
public boolean UnderlineTrailingSpaces{ get; set; }
vb.net
Public Property UnderlineTrailingSpaces() As Boolean

Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Don't underline on trailing spaces

Examples

C#
//--- Return UnderlineTrailingSpaces
bool underlineTrailingSpaces = cs.UnderlineTrailingSpaces;
 
//--- Set UnderlineTrailingSpaces
cs.UnderlineTrailingSpaces = true;
vb.net
'--- Return UnderlineTrailingSpaces
Dim underlineTrailingSpaces As Boolean = cs.UnderlineTrailingSpaces
 
'--- Set UnderlineTrailingSpaces
cs.UnderlineTrailingSpaces = True
  • No labels