Share via


SpacingPoints Class

Spacing Points.When the object is serialized out as xml, its qualified name is a:spcPts.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.SpacingPoints

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

Syntax

'宣言
Public Class SpacingPoints _
    Inherits OpenXmlLeafElement
'使用
Dim instance As SpacingPoints
public class SpacingPoints : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

21.1.2.2.12 spcPts (Spacing Points)

This element specifies the amount of white space that is to be used between lines and paragraphs in the form of a text point size. The size is specified using points where 100 is equal to 1 point font and 1200 is equal to 12 point.

[Example: Consider the DrawingML shown below.

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

The above paragraph of text is formatted to have a spacing before the paragraph text. This spacing is a size of 14 points due to val="1400". end example]

Parent Elements

lnSpc (§21.1.2.2.5); spcAft (§21.1.2.2.9); spcBef (§21.1.2.2.10)

Attributes

Description

val (Value)

Specifies the size of the white space in point size. Whole points are specified in increments of 100 starting with 100 being a point size of 1. For instance a font point size of 12 would be 1200 and a font point size of 12.5 would be 1250.

The possible values for this attribute are defined by the ST_TextSpacingPoint simple type (§20.1.10.78).

[Note: The W3C XML Schema definition of this element's content model (CT_TextSpacingPoint) 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

SpacingPoints Members

DocumentFormat.OpenXml.Drawing Namespace