VerticalTextAlignment class
Vertical Alignment. When the object is serialized out as xml, its qualified name is x:vertAlign.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.VerticalTextAlignment
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
vertAlign (Vertical Alignment)
This element adjusts the vertical position of the text relative to the text's default appearance for this run. It is used to get 'superscript' or 'subscript' texts, and shall reduce the font size (if a smaller size is available) accordingly.
Parent Elements |
|---|
font (§18.8.22); rPr (§18.4.7) |
Attributes | Description |
|---|---|
val (Value) | An enumeration representing the vertical-alignment setting. Setting this to either subscript or superscript shall make the font size smaller if a smaller font size is available. The possible values for this attribute are defined by the ST_VerticalAlignRun simple type (§22.9.2.17). |
[Note: The W3C XML Schema definition of this element’s content model (CT_VerticalAlignFontProperty) is located in §A.2. end note]
© ISO/IEC29500: 2008.