Shape.Image Property
See Also

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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public Image Image { get; set; }

Visual Basic  Copy Code

Public Property Image As Image

 Property Value

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.

 See Also