FormatCode Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Drawing.Charts.FormatCode

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

Syntax

'Declaration
Public Class FormatCode _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As FormatCode
public class FormatCode : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.71 formatCode (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 element are defined by the ST_Xstring simple type (§22.9.2.19).

Parent Elements

numCache (§21.2.2.120); numLit (§21.2.2.122)

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

FormatCode Members

DocumentFormat.OpenXml.Drawing.Charts Namespace