Compartir a través de


NumberingFormat Class

Number Format.When the object is serialized out as xml, its qualified name is c:numFmt.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.NumberingFormat

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.121 numFmt (Number Format)

This element specifies number formatting for the parent element.

Parent Elements

catAx (§21.2.2.25); dateAx (§21.2.2.39); dLbl (§21.2.2.47); dLbls (§21.2.2.49); serAx (§21.2.2.175); trendlineLbl (§21.2.2.212); valAx (§21.2.2.226)

Attributes

Description

formatCode (Number Format Code)

This element specifies a string representing the format code to apply. For more information see the SpreadsheetML numFmt element's (§18.8.30) formatCode attribute.

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

sourceLinked (Linked to Source)

Specifies a boolean value for the property defined by the parent XML element.

A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of 0 or false specifies that the property is not applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_NumFmt) is located in §A.5.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

NumberingFormat Members

DocumentFormat.OpenXml.Drawing.Charts Namespace