HorizontalAlignmentValues enumeration

Office 2013 and later

Horizontal Alignment Type

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
General General Horizontal Alignment. When the item is serialized out as xml, its value is "general".
Left Left Horizontal Alignment. When the item is serialized out as xml, its value is "left".
Center Centered Horizontal Alignment. When the item is serialized out as xml, its value is "center".
Right Right Horizontal Alignment. When the item is serialized out as xml, its value is "right".
Fill Fill. When the item is serialized out as xml, its value is "fill".
Justify Justify. When the item is serialized out as xml, its value is "justify".
CenterContinuous Center Continuous Horizontal Alignment. When the item is serialized out as xml, its value is "centerContinuous".
Distributed Distributed Horizontal Alignment. When the item is serialized out as xml, its value is "distributed".
Show: