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 whether or not Word will display hidden contents in a document. When set to true, Word displays text formatted as hidden with a dotted underline. When you print hidden text, the dotted underline does not appear.

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

          //--- Set DisplayHidden
          viewSettings.DisplayHidden = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return DisplayHidden
          Dim displayHidden As Boolean = viewSettings.DisplayHidden

          '--- Set DisplayHidden
          viewSettings.DisplayHidden = True
        
Example