Export (0) Print
Expand All

HorizontalTextAlignment class

Horizontal Text Alignment. When the object is serialized out as xml, its qualified name is xvml:TextHAlign.

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

public class HorizontalTextAlignment : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

TextHAlign (Horizontal Text Alignment)

This element specifies the horizontal text alignment for the object. Permitted values are Left, Justify, Center, Right and Distributed. If omitted, the alignment is assumed to be Left. This element is used for attached text.


<x:ClientData> …  <x:TextHAlign>

end example]

The possible values for this element are defined by the W3C XML Schema string datatype.

Parent Elements

ClientData (§

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2014 Microsoft