GridPivotTable.AddFieldToArea
Contents
[
Hide
]AddFieldToArea(GridPivotFieldType, int)
Adds the field to the specific area.
public int AddFieldToArea(GridPivotFieldType fieldType, int baseFieldIndex)
| Parameter | Type | Description |
|---|---|---|
| fieldType | GridPivotFieldType | The fields area type. |
| baseFieldIndex | Int32 | The field index in the base fields. |
Return Value
The field position in the specific fields.
See Also
- enum GridPivotFieldType
- class GridPivotTable
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
AddFieldToArea(GridPivotFieldType, string)
Adds the field to the specific area.
public int AddFieldToArea(GridPivotFieldType fieldType, string fieldName)
| Parameter | Type | Description |
|---|---|---|
| fieldType | GridPivotFieldType | The fields area type. |
| fieldName | String | The name in the base fields. |
Return Value
The field position in the specific fields.If there is no field named as it, return -1.
See Also
- enum GridPivotFieldType
- class GridPivotTable
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop