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 repeat the first row of a table created with this formatting as a header across multiple pages.

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 RepeatAsHeader{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property RepeatAsHeader() As Boolean</p>Boolean
Example
Code Block
csharp
csharp
titleC#
            //--- Return RepeatAsHeader
          bool repeatAsHeader = oTableFormatting.RepeatAsHeader;

          //--- Set RepeatAsHeader
          oTableFormatting.RepeatAsHeader = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return RepeatAsHeader
          Dim repeatAsHeader As Boolean = oTableFormatting.RepeatAsHeader

          '--- Set RepeatAsHeader
          oTableFormatting.RepeatAsHeader = True