Adds an 'Above or Below Average' conditional formatting rule applied to a specified sequence of references to cell ranges.
GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 22.214.171.1249
public AboveOrBelowAverageCondition AddAboveOrBelowAverage(
Public Function AddAboveOrBelowAverage (
appliesTo As String,
below As Boolean
) As AboveOrBelowAverageCondition
- Type: SystemString
The sequence of references to cell ranges over which the newly added conditional formatting rule is applied.
- Type: SystemBoolean
if set to format cells with values below average; otherwise, format cells with values above average.
set to a newly created conditional formatting rule which can be used to further customize the formatting condition.
Newly added rule is inserted at the beginning of the collection so it has the highest priority and is first applied.