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 if Word will not add automatic tab stops for a hanging indent.

Signature
C#
C#

 public boolean NoTabForIndent{ get; set; }
Signature
vb.net
vb.net

Public Property NoTabForIndent() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Don't add automatic tab stop for hanging indent

Example
Code Block
csharp
csharp
titleC#
            //--- Return NoTabForIndent
          bool noTabForIndent = cs.NoTabForIndent;

          //--- Set NoTabForIndent
          cs.NoTabForIndent = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return NoTabForIndent
          Dim noTabForIndent As Boolean = cs.NoTabForIndent

          '--- Set NoTabForIndent
          cs.NoTabForIndent = True