Partilhar via


vertAlign element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

vertAlign element [Word 2003 XML Reference]

Adjusts the vertical position of the text relative to the baseline and changes the font size if possible. To raise or lower the text without reducing the font size, use the position element.

Usage

<vertAlign
    val="verticalAlignRunType"
/>

Element Information

Element type verticalAlignRunProperty
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
rPr Represents run properties for the paragraph mark.
rPr Represents properties of the contents of this run.
rPr Represents the run properties for the list numbers.
rPr Represents the character properties to override in the table style.
rPr Represents the character properties for the style, if any.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
val verticalAlignRunType required Gets or sets the vertical-alignment setting.
  • baseline
  • superscript
  • subscript

Definition

<xsd:element name="vertAlign" type="verticalAlignRunProperty" minOccurs="0" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp