Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will shade form fields in a document.

 shading

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

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

          //--- Set ShadeFormFields
          viewSettings.ShadeFormFields = false;
        
{code}
{code:vb.net
|title=vb.net
}

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

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents whether or not Word will shade form fields in a document.{excerpt}
{signature:C#}
 public boolean ShadeFormFields{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property ShadeFormFields() As Boolean
Remarks

This option is set to true by default.

MS Word equivalent: Tools menu >
{signature}
{remarks}This option is set to true by default.

MS Word equivalent: Tools menu > Options... > View tab > Show section > Field
shading
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle