Adds a '2-Color Scale' conditional formatting rule applied to a specified sequence of references to cell ranges.
GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 188.8.131.527
public ColorScaleCondition Add2ColorScale(
Public Function Add2ColorScale (
appliesTo As String
) As ColorScaleCondition
- Type: SystemString
The sequence of references to cell ranges over which the newly added conditional formatting rule is applied.
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.
Newly added rule has the same default settings as in MS Excel.