add_field_to_area method

add_field_to_area

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):
    ...
ParameterTypeDescription
field_typePivotFieldTypeThe fields area type.
field_namestrThe name in the base fields.

add_field_to_area

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):
    ...
ParameterTypeDescription
field_typePivotFieldTypeThe fields area type.
base_field_indexintThe field index in the base fields.

add_field_to_area

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):
    ...
ParameterTypeDescription
field_typePivotFieldTypethe fields area type.
pivot_fieldPivotFieldthe field in the base fields.

See Also