XlsFile.ConditionallyModifyFormat Method
Modifies the format of the specified cell if it has a conditional format active. Returns a modified format with the applied conditional format if there was any change, null otherwise.
Syntax
Namespace: FlexCel.XlsAdapter
public override TFlxFormat ConditionallyModifyFormat(TFlxFormat format, Int32 row, Int32 col, Boolean includeTables, out TDrawingConditionalFormat ExtraInfo)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| format | TFlxFormat | Original format of the cell. | |
| row | Int32 | Row of the cell (1 based) | |
| col | Int32 | Column of the cell (1 based) | |
| includeTables | Boolean | If true and the cell is inside a table, the format for the table will be also taken in account. | |
| out | ExtraInfo | TDrawingConditional​Format |
Returns
If the format is modified by a conditional format, it returns the new format. If there are no changes returns null, to avoid creating new instances of TFlxFormat.