Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will wrap text with punctuation in this document.

 grid

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

          //--- Return WrapTextWithPunct
          bool wrapTextWithPunct = cs.WrapTextWithPunct;

          //--- Set WrapTextWithPunct
          cs.WrapTextWithPunct = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return WrapTextWithPunct
          Dim wrapTextWithPunct As Boolean = cs.WrapTextWithPunct

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents whether or not Word will wrap text with punctuation in this document.{excerpt}
{signature:C#}
 public boolean WrapTextWithPunct{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property WrapTextWithPunct() As Boolean
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Don't allow hanging punctuation with character
grid
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle