ConditionalFormatRuleCollectionAddIconSet Method |
Adds an 'Icon Set' conditional formatting rule applied to a specified sequence of references to cell ranges.
Namespace:
GemBox.Spreadsheet.ConditionalFormatting
Assembly:
GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 45.0.35.1069
Syntaxpublic IconSetCondition AddIconSet(
string appliesTo
)
Public Function AddIconSet (
appliesTo As String
) As IconSetCondition
Parameters
- appliesTo
- Type: SystemString
The sequence of references to cell ranges over which the newly added conditional formatting rule is applied.
Return Value
Type:
IconSetConditionAn
IconSetCondition set to a newly created conditional formatting rule which can be used to further customize the formatting condition.
Exceptions
RemarksNewly 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.
See Also