Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will use table styles like Word 2002. Word 2002 places the top border of a column under the heading row, rather than above it as Word 2003 does.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean UseTableStylesLike2002{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public Property UseTableStylesLike2002() As Boolean</p>
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Use Word 2002 table style rules

Example
Code Block
csharp
csharp
titleC#

          //--- Return UseTableStylesLike2002
          bool useTableStylesLike2002 = cs.UseTableStylesLike2002;

          //--- Set UseTableStylesLike2002
          cs.UseTableStylesLike2002 = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return UseTableStylesLike2002
          Dim useTableStylesLike2002 As Boolean = cs.UseTableStylesLike2002

          '--- Set UseTableStylesLike2002
          cs.UseTableStylesLike2002 = True