JSON API - addMathEquation
addMathEquation
PREMIUM
TRIAL / ADVANCED
Adds math equations into the Excel spreadsheet.
Note
You are reading the JSON API documentation. For the PHP API method please go to addMathEquation.
JSON data
| Key | Description |
|---|---|
| equation | OMML equation string or MathML. |
| type | Type of equation: omml, mathml. |
| position | Cell position in the active sheet: "A1", "C3", "AB7"... |
| align | left, center, right. |
| color | Hexadecimal color value: "FF0000", "000000"... |
| fontSize | 8, 9, 10... |
| colOffset |
|
| colSize | Number of columns used by the text box. |
| editAs | Possible values are:
|
| name | Sets a name value. |
| rowOffset |
|
| rowSize | Number of rows used by the text box. |
Code samples
Example #1
Example #2
Release notes
- phpxlsx 6.0:
- new action.