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 WordViewSettings.ViewType object that represents the type of view this document will be displayed in when opened by Word. Possible values: Normal, Outline, Page.

Signature
C#
C#
 public ViewType DocumentView{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property DocumentView() As ViewType
{signature}
{remarks}This option is set to [
Remarks

This option is set to WordViewSettings.ViewType.Page

|WordViewSettings.ViewType#Page]

by

default.

MS

Word

equivalent:

View

menu

>

\

(Top

section

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

)

Example
Code Block
csharp
csharp
titleC#


          //--- Return DocumentView
          WordViewSettings.ViewType oViewType = viewSettings.DocumentView;

          //--- Set DocumentView
          viewSettings.DocumentView = WordViewSettings.ViewType.Outline;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return DocumentView
          Dim oViewType As WordViewSettings.ViewType = viewSettings.DocumentView

          '--- Set ShadeFormFields
          viewSettings.DocumentView = WordViewSettings.ViewType.Outline
        
{code} {example}