DiagramLite Programmer's Guide
ShapeNode.ImageWebLocation Property
See Also
 





Gets or sets the URL of the image displayed in this ShapeNode.

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

 Syntax

C#  Copy Code

public string ImageWebLocation { get; set; }

Visual Basic  Copy Code

Public Property ImageWebLocation As String

 Property Value

A valid URL string that identifies the image to be loaded through the BitmapImage(Uri) constructor.

 Remarks

Assigning a valid URL to this property will automatically load the image, either from a local file or over http connection. Relative URLs are resolved against the directory containing the *.xap file.

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 URL.

 See Also

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