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

Signature
C#
C#
public boolean ShadeFormFields{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property ShadeFormFields() As Boolean
{signature}
{remarks}This option is set to true by default.

MS Word equivalent: Tools menu > 
Remarks

This option is set to true by default.

MS Word equivalent: Tools menu > Options...

>

View

tab

>

Show

section

>

Field

shading {remarks} {example}{code:csharp|title=C#}

shading

Example
Code Block
csharp
csharp
titleC#
          
//--- Return ShadeFormFields
          bool shadeFormFields = viewSettings.ShadeFormFields;

          //--- Set ShadeFormFields
          viewSettings.ShadeFormFields = false;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return ShadeFormFields
          Dim shadeFormFields As Boolean = viewSettings.ShadeFormFields

          '--- Set ShadeFormFields
          viewSettings.ShadeFormFields = False
        
{code} {example}