Search
ItemLabel.setImage Method
See Also
 

Sets the image displayed by this label.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setImage (
    Image value
)

 Parameters

value

A java.awt.Image object.

 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