Formats Class

PivotTable Formats.When the object is serialized out as xml, its qualified name is x:formats.

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

public class Formats : OpenXmlCompositeElement

The following table lists the possible child types:

  • Format <x:format>

[ISO/IEC 29500-1 1st Edition] formats (PivotTable Formats)

Represents the collection of formats applied to PivotTable.

Parent Elements

pivotTableDefinition (§

Child Elements


format (PivotTable Format)




count (Formats Count)

Specifies the number of formats in the collection.

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

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