Freigeben über


SpacingPoints-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class SpacingPoints _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As SpacingPoints
public class SpacingPoints : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

SpacingPoints-Member

DocumentFormat.OpenXml.Drawing-Namespace