PivotTable.AddFieldToArea
Contents
[
Hide
]AddFieldToArea(PivotFieldType, string)
Adds the field to the specific area.
public int AddFieldToArea(PivotFieldType fieldType, string fieldName)
Parameter | Type | Description |
---|---|---|
fieldType | PivotFieldType | 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 PivotFieldType
- class PivotTable
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
AddFieldToArea(PivotFieldType, int)
Adds the field to the specific area.
public int AddFieldToArea(PivotFieldType fieldType, int baseFieldIndex)
Parameter | Type | Description |
---|---|---|
fieldType | PivotFieldType | 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 PivotFieldType
- class PivotTable
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
AddFieldToArea(PivotFieldType, PivotField)
Adds the field to the specific area.
public int AddFieldToArea(PivotFieldType fieldType, PivotField pivotField)
Parameter | Type | Description |
---|---|---|
fieldType | PivotFieldType | the fields area type. |
pivotField | PivotField | the field in the base fields. |
Return Value
the field position in the specific fields.
See Also
- enum PivotFieldType
- class PivotField
- class PivotTable
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells