Gets or sets the image that is displayed in this shape node.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public IImage Image { get; set; } |
Visual Basic Copy Code |
---|
Public Property Image As IImage |
A Microsoft.Maui.Graphics.IImage instance.
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.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |