FormatCondition.GetFormula1

GetFormula1(bool, bool)

Gets the value or expression associated with this format condition.

public string GetFormula1(bool isR1C1, bool isLocal)
ParameterTypeDescription
isR1C1BooleanWhether the formula needs to be formatted as R1C1.
isLocalBooleanWhether the formula needs to be formatted by locale.

Return Value

The value or expression associated with this format condition.

See Also


GetFormula1(bool, bool, int, int)

Gets the value or expression of the conditional formatting of the cell.

public string GetFormula1(bool isR1C1, bool isLocal, int row, int column)
ParameterTypeDescription
isR1C1BooleanWhether the formula needs to be formatted as R1C1.
isLocalBooleanWhether the formula needs to be formatted by locale.
rowInt32The row index.
columnInt32The column index.

Return Value

The value or expression associated with the conditional formatting of the cell.

Remarks

The given cell must be contained by this conditional formatting, otherwise null will be returned.

See Also


GetFormula1(int, int)

Gets the formula of the conditional formatting of the cell.

public string GetFormula1(int row, int column)
ParameterTypeDescription
rowInt32The row index.
columnInt32The column index.

Return Value

The formula.

See Also