Search
ShapeNode.Image Property
See Also
 






Gets or sets the image that is displayed in this shape node.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public IImage Image { get; set; }

Visual Basic  Copy Code

Public Property Image As IImage

 Property Value

A Microsoft.Maui.Graphics.IImage instance.

 Remarks

This property lets you display an image inside the node. The ImageRectangle attribute of the shape definition specifies a rectangular area inside the node in which the image is displayed. Use the ImageAlign property 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.

If there isn't any image assigned to this property, the shape node displays the Image specified in its Shape template.

 See Also