Version

ApplyAverageFilter Method (WorksheetFilterSettings)

Applies an AverageFilter to the column.
Syntax
public AverageFilter ApplyAverageFilter( 
   int relativeColumnIndex,
   AverageFilterType type
)

Parameters

relativeColumnIndex
A zero based column index relative to the Region
type
The value indicating whether to filter in values below or above the average of the data range.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionIf the Region was not set.
System.ArgumentOutOfRangeExceptionIf the relativeColumnIndex is outside of the Region.
System.ComponentModel.InvalidEnumArgumentExceptiontype is not defined in the AverageFilterType enumeration.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also