[]
Sets conditional formatting for a specified cell on the sheet based on specified rules.
public void SetConditionalFormatting(int row, int column, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
int | row | Starting row index |
int | column | Starting column index |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified cell |
Sets conditional formatting for a specified cell on the sheet based on specified rules.
public void SetConditionalFormatting(int row, int column, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
int | row | Starting row index |
int | column | Starting column index |
bool | combinable | Rule(s) can be merged into an existing conditional format if they affect the same cell range(s). |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified cell |
Sets conditional formatting for a specified range of cells on the sheet based on specified rules.
public void SetConditionalFormatting(int row, int column, int rowCount, int columnCount, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
int | row | Starting row index |
int | column | Starting column index |
int | rowCount | Number of rows |
int | columnCount | Number of columns |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified range of cells |
Sets conditional formatting for a specified range of cells on the sheet based on specified rules.
public void SetConditionalFormatting(int row, int column, int rowCount, int columnCount, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
int | row | Starting row index |
int | column | Starting column index |
int | rowCount | Number of rows |
int | columnCount | Number of columns |
bool | combinable | Rule(s) can be merged into an existing conditional format if they affect the same cell range(s). |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified range of cells |
Sets conditional formatting for specified ranges of cells on the sheet based on specified rules.
public void SetConditionalFormatting(CellRange[] cellRanges, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(cellRanges As CellRange(), ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
CellRange[] | cellRanges | The cell ranges |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified range of cells |
Sets conditional formatting for specified ranges of cells on the sheet based on specified rules.
public void SetConditionalFormatting(CellRange[] cellRanges, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(cellRanges As CellRange(), combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Type | Name | Description |
---|---|---|
CellRange[] | cellRanges | The cell ranges |
bool | combinable | Rule(s) can be merged into an existing conditional format if they affect the same cell range(s). |
IConditionalFormattingRule[] | rules | The specified rules to apply for a specified range of cells |
Sets conditional formatting for the sheet.
public void SetConditionalFormatting(params ConditionalFormatting[] cfs)
Public Sub SetConditionalFormatting(ParamArray cfs As ConditionalFormatting())
Type | Name | Description |
---|---|---|
ConditionalFormatting[] | cfs | The conditional formatting |