共用方式為


HorizontalAnchorValues Enum

Definition

Defines the HorizontalAnchorValues enumeration.

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

Fields

Name Value Description
Text 0

Relative to Text Extents.

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

Margin 1

Relative To Margin.

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

Page 2

Relative to Page.

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

Equality(HorizontalAnchorValues, HorizontalAnchorValues)
Equals(HorizontalAnchorValues)
Equals(Object)
GetHashCode()
HorizontalAnchorValues(String)

Creates a new HorizontalAnchorValues enum instance

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<HorizontalAnchorValues>.Create(String)
Inequality(HorizontalAnchorValues, HorizontalAnchorValues)
Margin

Relative To Margin.

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

Page

Relative to Page.

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

Text

Relative to Text Extents.

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

ToString()

Applies to