共用方式為


HeaderFooterValues Enum

Definition

Defines the HeaderFooterValues enumeration.

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

Fields

Name Value Description
Even 0

Even Numbered Pages Only.

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

Default 1

Default Header or Footer.

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

First 2

First Page Only.

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

Default

Default Header or Footer.

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

Equality(HeaderFooterValues, HeaderFooterValues)
Equals(HeaderFooterValues)
Equals(Object)
Even

Even Numbered Pages Only.

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

First

First Page Only.

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

GetHashCode()
HeaderFooterValues(String)

Creates a new HeaderFooterValues enum instance

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<HeaderFooterValues>.Create(String)
Inequality(HeaderFooterValues, HeaderFooterValues)
ToString()

Applies to