JSON API - addSvg
addSvg
PREMIUM
TRIAL / ADVANCED
Inserts an SVG into the Excel spreadsheet.
Note
You are reading the JSON API documentation. For the PHP API method please go to addSvg.
JSON data
| Key | Description |
|---|---|
| svg | SVG path, or SVG content. |
| position | Cell position in the active sheet: "A1", "C3", "AB7"... |
| colOffset |
|
| colSize | Number of columns used by the image. |
| descr | Descr value. |
| dpi | Dots per inch. Autodetect if not set. |
| editAs | Possible values are:
|
| name | Sets a name value. |
| rotation | 60.000ths of a degree. |
| rowOffset |
|
| rowSize | Number of rows used by the image. |
Code samples
Example #1
Release notes
- phpxlsx 6.0:
- new action.