FormatCode class

Office 2013 and later

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

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

public class FormatCode : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: