Compartilhar via


NumberSpacing Class

Defines the NumberSpacing Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:numSpacing.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.NumberSpacing

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class NumberSpacing _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As NumberSpacing
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class NumberSpacing : OpenXmlLeafElement

Remarks

2.3.16 numSpacing

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

A CT_NumSpacing element that specifies which spacing form of the numeral is displayed (for more information about numeral spacing, see [OpenType]). By default, the font’s default form is used. See section 2.2.1 for how this element integrates with ISO/IEC-29500-1.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="numSpacing" minOccurs="0" type="CT_NumSpacing"/>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.31 CT_NumSpacing

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: numSpacing

Specifies the form in which numerals are displayed.

Attributes:

val : An ST_NumSpacing attribute that specifies the form in which numerals are displayed.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_NumSpacing">

<xsd:attribute name="val" type="ST_NumSpacing" use="required"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

NumberSpacing Members

DocumentFormat.OpenXml.Office2010.Word Namespace