Search
ItemLabel.image Property
See Also
 





Gets or sets the image displayed by this label.

Namespace: MindFusion.Diagramming
File: ItemLabel.js

 Syntax

JavaScript  Copy Code

get image() {}
set image(value) {}

 Property Value

HTMLImageElement

An image object to render inside the label.

 Remarks

If a label displays both image and text, the image position relative to text depends on the imageAlign property.

If the label is only intended to display an icon image and no text, you could also set its locked property to prevent users from entering text.

 See Also