Gets or sets the image displayed by this label.
Namespace: MindFusion.Diagramming
File: ItemLabel.js
JavaScript
![]() |
---|
get image() {} |
HTMLImageElement
An image object to render inside the label.
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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2025 MindFusion |