Freigeben über


VerticalTextAlignment-Klasse

Vertical Alignment.When the object is serialized out as xml, its qualified name is x:vertAlign.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class VerticalTextAlignment _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As VerticalTextAlignment
public class VerticalTextAlignment : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.4.14 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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

VerticalTextAlignment-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace