Gets or sets the image displayed by this node.
Namespace: MindFusion.Diagramming
Package: ShapeNode.js
JavaScript Copy Code |
---|
get image() {} |
HTMLImageElement
An image object to render as node's content.
This property lets you display an image inside the node. Set the imageAlign property to specify how the image is aligned inside shape's area. By default, the image is displayed in the center of the bounding rectangle of the node.
NetDiagram Programmer's Guide | © 2023 MindFusion |