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 expand character spaces on the line ending in SHIFT + RETURN in this document.

Signature
C#
C#
public boolean ExpandShiftReturn{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property ExpandShiftReturn() As Boolean
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Tools

menu

>

Options...

>

Compatibility

tab

>

Compatibility

options

for

\

[filename

\

].doc

section

>

Options

>

Don't

expand

character

spaces

on

the

line

ending

Shift

\

-Return

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

Example
Code Block
csharp
csharp
titleC#
          
//--- Return ExpandShiftReturn
          bool expandShiftReturn = cs.ExpandShiftReturn;

          //--- Set ExpandShiftReturn
          cs.ExpandShiftReturn = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return ExpandShiftReturn
          Dim expandShiftReturn As Boolean = cs.ExpandShiftReturn

          '--- Set ExpandShiftReturn
          cs.ExpandShiftReturn = True
        
{code} {example}