Share via


VerticalTextAlignment Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.VerticalTextAlignment

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

Syntax

'Declaración
Public Class VerticalTextAlignment _
    Inherits OpenXmlLeafTextElement
'Uso
Dim instance As VerticalTextAlignment
public class VerticalTextAlignment : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1ª edición]

14.4.2.61 TextVAlign (Vertical Text Alignment)

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

[Example:

<x:ClientData> …
<x:TextVAlign>Center</x:TextVAlign>
</x:ClientData>

end example]

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

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

Thread Safety

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

See Also

Reference

VerticalTextAlignment Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace