{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:vb.net}
Public Property WrapTextWithPunct() As Boolean
{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

{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}