StaticBitmap
Mandatory properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be StaticBitmap. |
| bitmap | string | Base64-encoded PNG bitmap. |
| width | number | Width of the image area. |
| height | number | Height of the image area. |
Optional properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| fgColor | string | Image color. |
| bgColor | string | Optional background color. |
Example
{
"type": "StaticBitmap",
"x": 10.0,
"y": 10.0,
"width": 10.0,
"height": 10.0,
"bitmap": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQAAAADsdIMmAAAAD0lEQVQImWPgZ4DADxAIABHgA/2duthcAAAAAElFTkSuQmCC"
}