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
Wiki Markup
{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.{excerpt}
{signature:C#}
 public boolean DisplayHidden{ get; set; }
{signature}{signature:vb.net}
Public Property DisplayHidden() As Boolean
{signature}
{example}{code:csharp|title=C#}

          //--- Return DisplayHidden
          bool displayHidden = viewSettings.DisplayHidden;

          //--- Set DisplayHidden
          viewSettings.DisplayHidden = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return DisplayHidden
          Dim displayHidden As Boolean = viewSettings.DisplayHidden

          '--- Set DisplayHidden
          viewSettings.DisplayHidden = True
        {code}

{example}