Class ExcelPivotArea¶
Namespace: OfficeOpenXml.Table.PivotTable
Assembly: EPPlus.dll
Defines a pivot table area of selection used for different purposes.
Inheritance¶
object ← XmlHelper ← ExcelPivotArea
Derived¶
ExcelPivotAreaAutoSort
ExcelPivotTableAreaConditionalFormatting
ExcelPivotTableAreaStyle
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Axis¶
The region of the PivotTable affected.
Property Value¶
CacheIndex¶
If any indexes refers to fields or items in the pivot cache and not the view.
Property Value¶
CollapsedLevelsAreSubtotals¶
If collapsed levels/dimensions are considered subtotals
Property Value¶
Conditions¶
Conditions for the pivot table. Conditions can be set for specific row-, column- or data fields. Specify labels, data grand totals and more.
Property Value¶
DataOnly¶
If the data values in the data area are included. Setting this property to true will set LabelOnly to false. LabelOnly
Property Value¶
FieldIndex¶
The field referenced. -2 means refers to values.
Property Value¶
int?
FieldPosition¶
Position of the field within the axis to which this rule applies.
Property Value¶
int?
GrandColumn¶
If the column grand total is included
Property Value¶
GrandRow¶
If the row grand total is included
Property Value¶
IsValuesField¶
If the pivot area referes to the "Σ Values" field in the column or row fields.
Property Value¶
LabelOnly¶
If the item labels are included. Setting this property to true will set DataOnly to false. DataOnly
Property Value¶
Offset¶
A address in A1C1 format that specifies a subset of the selection area. Points are relative to the top left of the selection area. The first cell is referenced as A1. For example, B1:C1 reference the second and third column of the first row of the pivot area.
Property Value¶
Outline¶
Indicating whether the pivot table area refers to an area that is in outline mode.
Property Value¶
PivotAreaType¶
The pivot area type that affecting the selection.