Gets or sets a Base64-encoded image to display inside this label.
Namespace: MindFusion.Diagramming
File: ItemLabel.js
JavaScript
![]() |
---|
get imageContent() {} |
String
A Base64-encoded representation of an image.
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 |