add_field_to_area method
Contents
[
Hide
]add_field_to_area(self, field_type, field_name)
Adds the field to the specific area.
Returns
The field position in the specific fields.If there is no field named as it, return -1.
def add_field_to_area(self, field_type, field_name):
...
Parameter | Type | Description |
---|---|---|
field_type | PivotFieldType | The fields area type. |
field_name | str | The name in the base fields. |
add_field_to_area(self, field_type, base_field_index)
Adds the field to the specific area.
Returns
The field position in the specific fields.
def add_field_to_area(self, field_type, base_field_index):
...
Parameter | Type | Description |
---|---|---|
field_type | PivotFieldType | The fields area type. |
base_field_index | int | The field index in the base fields. |
add_field_to_area(self, field_type, pivot_field)
Adds the field to the specific area.
Returns
the field position in the specific fields.
def add_field_to_area(self, field_type, pivot_field):
...
Parameter | Type | Description |
---|---|---|
field_type | PivotFieldType | the fields area type. |
pivot_field | PivotField | the field in the base fields. |
See Also
- module
aspose.cells.pivot
- class
PivotTable