Share via


ViewValues Enum

Definition

Defines the ViewValues enumeration.

public enum ViewValues
public readonly struct ViewValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Wordprocessing.ViewValues>, IEquatable<DocumentFormat.OpenXml.Wordprocessing.ViewValues>
type ViewValues = 
type ViewValues = struct
    interface IEnumValue
    interface IEnumValueFactory<ViewValues>
Public Enum ViewValues
Public Structure ViewValues
Implements IEnumValue, IEnumValueFactory(Of ViewValues), IEquatable(Of ViewValues)
Inheritance
ViewValues
Inheritance
ViewValues

Fields

Name Value Description
None 0

Default View.

When the item is serialized out as xml, its value is "none".

Print 1

Print Layout View.

When the item is serialized out as xml, its value is "print".

Outline 2

Outline View.

When the item is serialized out as xml, its value is "outline".

MasterPages 3

Master Document View.

When the item is serialized out as xml, its value is "masterPages".

Normal 4

Draft View.

When the item is serialized out as xml, its value is "normal".

Web 5

Web Page View.

When the item is serialized out as xml, its value is "web".

Equality(ViewValues, ViewValues)
Equals(Object)
Equals(ViewValues)
GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<ViewValues>.Create(String)
Inequality(ViewValues, ViewValues)
MasterPages

Master Document View.

When the item is serialized out as xml, its value is "masterPages".

None

Default View.

When the item is serialized out as xml, its value is "none".

Normal

Draft View.

When the item is serialized out as xml, its value is "normal".

Outline

Outline View.

When the item is serialized out as xml, its value is "outline".

Print

Print Layout View.

When the item is serialized out as xml, its value is "print".

ToString()
ViewValues(String)

Creates a new ViewValues enum instance

Web

Web Page View.

When the item is serialized out as xml, its value is "web".

Applies to