次の方法で共有


SpaceBefore Class

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

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class SpaceBefore _
    Inherits TextSpacingType
'使用
Dim instance As SpaceBefore
public class SpaceBefore : TextSpacingType

Remarks

The following table lists the possible child types:

  • SpacingPercent <a:spcPct>

  • SpacingPoints <a:spcPts>

[ISO/IEC 29500-1 初版]

21.1.2.2.10 spcBef (Space Before)

This element specifies the amount of vertical white space that is present before 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

SpaceBefore Members

DocumentFormat.OpenXml.Drawing Namespace