Gets or sets the image displayed in all instances of this shape.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public Image Image { get; set; } |
Visual Basic Copy Code |
---|
Public Property Image As Image |
An instance of the .NET Image class. The default is null (Nothing in Visual Basic).
Assigning an image object to this property sets the ImageLocation to null (Nothing in Visual Basic). The image is displayed in the rectangle specified in ImageRectangle. If the Image property of a shape node is set, it overrides the image specified in the shape definition.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |