Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Maps Class

OLAP Measure Group.When the object is serialized out as xml, its qualified name is x:maps.

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

public class Maps : OpenXmlCompositeElement

The following table lists the possible child types:

  • MeasureDimensionMap <x:map>

[ISO/IEC 29500-1 1st Edition] maps (OLAP Measure Group)

Represents the PivotTable OLAP measure group - Dimension maps.


<maps count="3">
<map measureGroup="0" dimension="2"/>
<map measureGroup="1" dimension="19"/>
<map measureGroup="2" dimension="8"/>

end example]

Parent Elements

pivotCacheDefinition (§

Child Elements


map (OLAP Measure Group)




count (Measure Group Count)

Specifies the number of measure groups, or dimension maps, in the PivotTable.

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_MeasureDimensionMaps) 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.
© 2016 Microsoft