Positions the field in the specified area and at the specified location.
public bool SetAreaPosition( PivotArea area, int areaIndex )
Public Function SetAreaPosition( area As PivotArea, areaIndex As Integer ) As Boolean
A PivotArea value that specifies the area in which the field is placed.
A zero-based integer that specifies the field's index amongst the other fields displayed within the same area.
true if the field has been successfully moved to the specified position; otherwise, false.
Use the SetAreaPosition method to position the current field in a specific area at a specific location. This method sets the PivotGridFieldBase.Area and PivotGridFieldBase.AreaIndex properties as a result.
If the field hasn't been moved to the specified position the SetAreaPosition method returns false. Otherwise, the method returns true.
There are two reasons the SetAreaPosition method returns false: