u
This commit is contained in:
@@ -18,7 +18,7 @@ and stored with the template.
|
||||
| `height` | yes | number | |
|
||||
| `dpi` | yes | integer | |
|
||||
| `type` | yes | string | |
|
||||
| `content` | yes | object | |
|
||||
| `content` | yes | LabelContent | |
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -27,7 +27,22 @@ and stored with the template.
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {}
|
||||
"content": {
|
||||
"objects": [
|
||||
{
|
||||
"id": "…",
|
||||
"type": "textbox",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"w": 1,
|
||||
"h": 1,
|
||||
"text": "…",
|
||||
"font": "…",
|
||||
"fontSize": 1,
|
||||
"barcodeFormat": "EAN8"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -44,7 +59,22 @@ Created label template
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {},
|
||||
"content": {
|
||||
"objects": [
|
||||
{
|
||||
"id": "…",
|
||||
"type": "textbox",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"w": 1,
|
||||
"h": 1,
|
||||
"text": "…",
|
||||
"font": "…",
|
||||
"fontSize": 1,
|
||||
"barcodeFormat": "EAN8"
|
||||
}
|
||||
]
|
||||
},
|
||||
"thumb": "…"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,22 @@ Label template details
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {},
|
||||
"content": {
|
||||
"objects": [
|
||||
{
|
||||
"id": "…",
|
||||
"type": "textbox",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"w": 1,
|
||||
"h": 1,
|
||||
"text": "…",
|
||||
"font": "…",
|
||||
"fontSize": 1,
|
||||
"barcodeFormat": "EAN8"
|
||||
}
|
||||
]
|
||||
},
|
||||
"thumb": "…"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ List of label templates
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {},
|
||||
"thumb": "…"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -23,7 +23,7 @@ When `content` (or `width`/`height`) is provided, the thumbnail is automatically
|
||||
| `height` | no | number | |
|
||||
| `dpi` | no | integer | |
|
||||
| `type` | no | string | |
|
||||
| `content` | no | object | |
|
||||
| `content` | no | LabelContent | |
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -32,7 +32,22 @@ When `content` (or `width`/`height`) is provided, the thumbnail is automatically
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {}
|
||||
"content": {
|
||||
"objects": [
|
||||
{
|
||||
"id": "…",
|
||||
"type": "textbox",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"w": 1,
|
||||
"h": 1,
|
||||
"text": "…",
|
||||
"font": "…",
|
||||
"fontSize": 1,
|
||||
"barcodeFormat": "EAN8"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -49,7 +64,22 @@ Updated label template
|
||||
"height": 1,
|
||||
"dpi": 1,
|
||||
"type": "…",
|
||||
"content": {},
|
||||
"content": {
|
||||
"objects": [
|
||||
{
|
||||
"id": "…",
|
||||
"type": "textbox",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"w": 1,
|
||||
"h": 1,
|
||||
"text": "…",
|
||||
"font": "…",
|
||||
"fontSize": 1,
|
||||
"barcodeFormat": "EAN8"
|
||||
}
|
||||
]
|
||||
},
|
||||
"thumb": "…"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user