DiagramLite Programmer's Guide
ShapeNode.ImageResourceLocation Property
See Also
 





Gets or sets the resource path to an image that should be displayed in this ShapeNode.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public string ImageResourceLocation { get; set; }

Visual Basic  Copy Code

Public Property ImageResourceLocation As String

 Property Value

A valid URI string that identifies the image to be loaded through Application.GetResourceStream(Uri).

 Remarks

Assigning a valid path to this property will automatically load the image and assign it to the Image property.

This property is saved and restored when serializing the diagram as XML. During the execution of LoadFromXml, the images are automatically loaded if they are still accessible through the specified URI.

 See Also

ShapeNode Members
ShapeNode Class
MindFusion.Diagramming Namespace
Image Property
ImageWebLocation Property