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 wrap text with punctuation in this document.

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

MS Word equivalent:

Tools

menu

>

Options...

>

Compatibility

tab

>

Compatibility

options

for

\

[filename

\

].doc

section

>

Options

>

Don't

allow

hanging

punctuation

with

character

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

grid

Example
Code Block
csharp
csharp
titleC#
          
//--- Return WrapTextWithPunct
          bool wrapTextWithPunct = cs.WrapTextWithPunct;

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

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