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 shade form fields in a document.

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 ShadeFormFields{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public Property ShadeFormFields() As Boolean</p>
Remarks

This option is set to true by default.

MS Word equivalent: Tools menu > Options... > View tab > Show section > Field shading

Example
Code Block
csharp
csharp
titleC#

          //--- Return ShadeFormFields
          bool shadeFormFields = viewSettings.ShadeFormFields;

          //--- Set ShadeFormFields
          viewSettings.ShadeFormFields = false;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return ShadeFormFields
          Dim shadeFormFields As Boolean = viewSettings.ShadeFormFields

          '--- Set ShadeFormFields
          viewSettings.ShadeFormFields = False