MindFusion.Diagramming for JavaScript Programmer's Guide

ShapeNode.setImage Method

See Also
 





Sets the image of the node.

Namespace: MindFusion.Diagramming
File: ShapeNode.js

 Syntax

JavaScript  Copy Code

function setImage (value)

 Parameters

value

The image to set.

 Remarks

This property lets you display an image inside the node. Use the setImageAlign method to specify how the image is aligned to that area. By default, the image is displayed in the center of the bounding rectangle of the node.

 See Also