JSON API - createTableStyle
createTableStyle
PREMIUM
TRIAL / ADVANCED
Creates a table style.
Note
You are reading the JSON API documentation. For the PHP API method please go to createTableStyle.
JSON data
| Key | Description |
|---|---|
| name | Style name. |
| backgroundColor | Hexadecimal color value: "FFFF00", "CCCCCC"... |
| bold | If true the content will be shown in bold characters. |
| border | Border type: thin, thick, dashed, double, mediumDashDotDot, hair... This value can be overridden for each side with "borderTop", "borderRight", "borderBottom", "borderLeft" and "borderDiagonal" properties. |
| borderColor | Hexadecimal color value: "FFFF00", "CCCCCC"... This value can be overridden for each side with "borderColorTop", "borderColorRight", "borderColorBottom", "borderColorLeft" and "borderColorDiagonal" properties. |
| color | Hexadecimal color value: "FF0000", "000000"... |
| font | Font family: "Arial", "Calibri"... |
| fontSize | Font size in points. |
| italic | If true displays the content in italics. |
| strikethrough | If true displays text in strikethrough. |
| underline | Underlines text: single, double. |
Code samples
Example #1
Release notes
- phpxlsx 6.0:
- new action.