Sets the image displayed by this label.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setImage ( |
A java.awt.Image object.
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.