Back to Devexpress

PivotLocation.Range Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotlocation-8d054959.md

latest2.2 KB
Original Source

PivotLocation.Range Property

Gets the cell range that contains the entire PivotTable report except for the page area.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
CellRange Range { get; }
vb
ReadOnly Property Range As CellRange

Property Value

TypeDescription
CellRange

A CellRange object that specifies a cell range occupied by the pivot table disregarding the page fields.

|

Remarks

The cell range that the Range property returns for a sample pivot table is highlighted in the image below.

To get a cell range that contains the entire pivot table including the page area, use the PivotLocation.WholeRange property. The PivotLocation.DataRange property returns the cell range that contains the PivotTable’s summary values. The PivotLocation.RowRange, PivotLocation.ColumnRange and PivotLocation.PageRange properties return cell ranges containing the PivotTable’s row area, column area and page area, respectively.

See Also

Pivot Table Structure

PivotLocation Interface

PivotLocation Members

DevExpress.Spreadsheet Namespace