Search
Shape.Image Property
See Also
 





Gets or sets the image displayed in all instances of this shape.

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. The default is null (Nothing in Visual Basic).

 Remarks

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.

 See Also