Skip to main content

Image

Mandatory properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
typestringMust be Image.
textstringName of the image. May contain dynamic text.

Optional properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
widthnumberWidth of the image area.
heightnumberHeight of the image area.
hAlignstringHorizontal alignment of the image within the image area. Allowed values: LEFT, CENTER, RIGHT. Default is CENTER.
vAlignstringVertical alignment of the image within the image area. Allowed values: TOP, CENTER, BOTTOM. Default is CENTER.
sizeModestringScaling mode of the image within the image area. Allowed values: RESIZE, SHRINK, STRETCH. Default is RESIZE.
colorizeColorizePrint the image using a single color.

Example

{
"type": "Image",
"x": 10.0,
"y": 70.0,
"text": "MyImage"
}