PivotAreas Class

Pivot Areas.When the object is serialized out as xml, its qualified name is x:pivotAreas.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.PivotAreas

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(PivotArea))> _
Public Class PivotAreas _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PivotAreas
[ChildElementInfoAttribute(typeof(PivotArea))]
public class PivotAreas : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • PivotArea <x:pivotArea>

[ISO/IEC 29500-1 1st Edition]

18.10.1.66 pivotAreas (Pivot Areas)

Represents the collection of pivot areas that comprise the PivotTable location.

[Example:

<sh:pivotAreas count="1">
<sh:pivotArea field="2" dataOnly="0" outline="0"/>
</sh:pivotAreas>

end example]

Parent Elements

conditionalFormat (§18.10.1.18)

Child Elements

Subclause

pivotArea (Pivot Area)

§18.3.1.68

Attributes

Description

count (Pivot Area Count)

Specifies the number of PivotAreas for the PivotTable location.

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_PivotAreas) is located in §A.2. 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

PivotAreas Members

DocumentFormat.OpenXml.Spreadsheet Namespace