FormatConditionSetFormula2 Method |
Sets the value or expression associated with this format condition.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 21.1.0.0 (21.1)
Syntaxpublic void SetFormula2(
string formula,
bool isR1C1,
bool isLocal
)
Public Sub SetFormula2 (
formula As String,
isR1C1 As Boolean,
isLocal As Boolean
)
public:
void SetFormula2(
String^ formula,
bool isR1C1,
bool isLocal
)
member SetFormula2 :
formula : string *
isR1C1 : bool *
isLocal : bool -> unit
Parameters
- formula
- Type: SystemString
The value or expression associated with this format condition.
If the input value starts with '=', then it will be taken as formula. Otherwise it will be taken as plain value(text, number, bool).
For text value that starts with '=', user may input it as formula in format: "=\"=...\"". - isR1C1
- Type: SystemBoolean
Whether the formula is R1C1 formula. - isLocal
- Type: SystemBoolean
Whether the formula is locale formatted.
See Also