Sheet kit command
row.setHeight
Row Height
Sets the height in points of rows given as a row span such as 2:5, one row such as 9, or a list such as 2:3,7 (default: the selection's rows).
- Kit
- Sheet 0.1.0 (.xlsx (and opens .xlsm, .xls, .xltx, .csv, .ods, .xlsb))
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
height | integer | no | points on screen |
rows | string | no | rows: a span such as 2:5, one row such as 9, or a list such as 2:3,7; default: the selection's rows |
sheet | any | no | name | index |
Call through sheet_run
text
sheet_run {
"path": "<file>.xlsx",
"steps": [{ "command": "row.setHeight" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: height, rows, sheet. sheet_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"height": {
"default": 20,
"description": "points on screen",
"type": "integer"
},
"rows": {
"description": "rows: a span such as 2:5, one row such as 9, or a list such as 2:3,7; default: the selection's rows",
"type": "string"
},
"sheet": {
"description": "name | index",
"x-khp-name": "name",
"x-khp-types": [
"Sheet"
]
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (sheet_commands through @kition/[email protected], built from KitionAI/kition-sheet@82f13b2). As data: commands.jsonl.