Share via


HorizontalAlignmentValues Enum

Definition

Defines the HorizontalAlignmentValues enumeration.

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

Fields

Name Value Description
Left 0

Left Aligned Horizontally.

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

Center 1

Centered Horizontally.

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

Right 2

Right Aligned Horizontally.

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

Inside 3

Inside.

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

Outside 4

Outside.

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

Center

Centered Horizontally.

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

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

Creates a new HorizontalAlignmentValues enum instance

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<HorizontalAlignmentValues>.Create(String)
Inequality(HorizontalAlignmentValues, HorizontalAlignmentValues)
Inside

Inside.

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

Left

Left Aligned Horizontally.

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

Outside

Outside.

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

Right

Right Aligned Horizontally.

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

ToString()

Applies to