ASP.NET Pack Programmer's Guide
ShapeNode.setImage Method
See Also
 





Sets the image of the node.

Namespace: MindFusion.Diagramming
Package: ShapeNode.js

 Syntax

JavaScript  Copy Code

function setImage (value)

 Parameters

value

The HTMLImageElement image to assign to this node.

 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

ShapeNode Members
ShapeNode Class
MindFusion.Diagramming Namespace