# spacingProperty complexType

Defines a property that uses line-spacing rules.

## Type Information

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

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
before | twipsMeasureType | optional | Gets or sets amount of space above paragraph. |
before-lines | decimalNumberType | optional | Gets or sets number of lines before paragraph (when using character units). |
before-autospacing | onOffType | optional | Gets or sets whether space/lines before a paragraph is automatic. | on off
after | twipsMeasureType | optional | Gets or sets amount of space below paragraph. |
after-lines | decimalNumberType | optional | Gets or sets number of lines after paragraph (when using character units) |
after-autospacing | onOffType | optional | Gets or sets whether space/lines after a paragraph is automatic. | on off
line | signedTwipsMeasureType | optional | Gets or sets amount of vertical spacing between lines of text. |
line-rule | lineSpacingRuleValue | optional | Specifies interpretation of line attribute. | auto exact at-least

## Definition

    <xsd:complexType name="spacingProperty" >
      <xsd:attribute name="before" type="twipsMeasureType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="before-lines" type="decimalNumberType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="before-autospacing" type="onOffType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="after" type="twipsMeasureType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="after-lines" type="decimalNumberType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="after-autospacing" type="onOffType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="line" type="signedTwipsMeasureType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="line-rule" type="lineSpacingRuleValue" use="optional">
      </xsd:attribute>
    </xsd:complexType>

©2003-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