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

This class is used manipulate the View settings for a document.

Signature
langcsharp
 public sealed class WordViewSettings
Signature
langvb
Public NotInheritable Class WordViewSettings

Remarks

You cannot create a new WordViewSettings object. You must use the Document.ViewSettings property to retrieve WordViewSettings properties for a document.

The following sample gets the WordViewSettings object of a document.

Example

          WordApplication app = new WordApplication();
          Document doc = app.Open(@"C:\sample.doc");
          WordViewSettings viewSettings = doc.ViewSettings;
        

          Dim app As New WordApplication()
          Dim doc As Document = app.Open("C:\sample.doc")
          Dim viewSettings As WordViewSettings = doc.ViewSettings
        
Properties

Name

Description

DisplayedOutlineLevels

Excerpt Include
WordViewSettings.DisplayedOutlineLevels
WordViewSettings.DisplayedOutlineLevels
nopaneltrue

DisplayFieldResults

Excerpt Include
WordViewSettings.DisplayFieldResults
WordViewSettings.DisplayFieldResults
nopaneltrue

DisplayHidden

Excerpt Include
WordViewSettings.DisplayHidden
WordViewSettings.DisplayHidden
nopaneltrue

DocumentView

Excerpt Include
WordViewSettings.DocumentView
WordViewSettings.DocumentView
nopaneltrue

EnvelopeVisible

Excerpt Include
WordViewSettings.EnvelopeVisible
WordViewSettings.EnvelopeVisible
nopaneltrue

IncludeFooterInBorder

Excerpt Include
WordViewSettings.IncludeFooterInBorder
WordViewSettings.IncludeFooterInBorder
nopaneltrue

IncludeHeaderInBorder

Excerpt Include
WordViewSettings.IncludeHeaderInBorder
WordViewSettings.IncludeHeaderInBorder
nopaneltrue

ShadeFormFields

Excerpt Include
WordViewSettings.ShadeFormFields
WordViewSettings.ShadeFormFields
nopaneltrue

Zoom

Excerpt Include
WordViewSettings.Zoom
WordViewSettings.Zoom
nopaneltrue

ZoomPercentage

Excerpt Include
WordViewSettings.ZoomPercentage
WordViewSettings.ZoomPercentage
nopaneltrue

Classes

Name

Description

ViewType

Excerpt Include
WordViewSettings.ViewType
WordViewSettings.ViewType
nopaneltrue

ZoomType

Excerpt Include
WordViewSettings.ZoomType
WordViewSettings.ZoomType
nopaneltrue