Поделиться через


SpaceAfter Class

Space After.When the object is serialized out as xml, its qualified name is a:spcAft.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TextSpacingType
        DocumentFormat.OpenXml.Drawing.SpaceAfter

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

Syntax

'Declaration
Public Class SpaceAfter _
    Inherits TextSpacingType
'Usage
Dim instance As SpaceAfter
public class SpaceAfter : TextSpacingType

Remarks

The following table lists the possible child types:

  • SpacingPercent <a:spcPct>

  • SpacingPoints <a:spcPts>

[ISO/IEC 29500-1 1st Edition]

21.1.2.2.9 spcAft (Space After)

This element specifies the amount of vertical white space that is present after a paragraph. This space is specified in either percentage or points via the child elements spcPct and spcPts.

[Example: Consider the DrawingML shown below.

<p:txBody>
…
<a:p>
<a:pPr …>
<a:spcBef>
<a:spcPts val="1800"/>
</a:spcBef>
      <a:spcAft>
<a:spcPts val="600"/>
</a:spcAft>
</a:pPr>
    …
<a:t>Sample Text</a:t>
…
</a:p>
…
</p:txBody>

The above paragraph of text is formatted to have a spacing both before and after the paragraph text. The spacing before is a size of 18 points, or value=1800 and the spacing after is a size of 6 points, or value=600. end example]

Parent Elements

defPPr (§21.1.2.2.2); lvl1pPr (§21.1.2.4.13); lvl2pPr (§21.1.2.4.14); lvl3pPr (§21.1.2.4.15); lvl4pPr (§21.1.2.4.16); lvl5pPr (§21.1.2.4.17); lvl6pPr (§21.1.2.4.18); lvl7pPr (§21.1.2.4.19); lvl8pPr (§21.1.2.4.20); lvl9pPr (§21.1.2.4.21); pPr (§21.1.2.2.7)

Child Elements

Subclause

spcPct (Spacing Percent)

§21.1.2.2.11

spcPts (Spacing Points)

§21.1.2.2.12

[Note: The W3C XML Schema definition of this element’s content model (CT_TextSpacing) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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

SpaceAfter Members

DocumentFormat.OpenXml.Drawing Namespace