Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean that represents whether or not Word will wrap text with punctuation in this document.
C#
public boolean WrapTextWithPunct{ get; set; }
vb.net
Public Property WrapTextWithPunct() As Boolean

Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Don't allow hanging punctuation with character grid

Examples

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

          //--- Set WrapTextWithPunct
          cs.WrapTextWithPunct = true;
        
vb.net
          '--- Return WrapTextWithPunct
          Dim wrapTextWithPunct As Boolean = cs.WrapTextWithPunct

          '--- Set WrapTextWithPunct
          cs.WrapTextWithPunct = True
        
  • No labels