ASP.NET Pack Programmer's Guide
Shape.ImageLocation Property
See Also
 





Gets or sets the path to the file that contains the image displayed in this shape.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public string ImageLocation { get; set; }

Visual Basic  Copy Code

Public Property ImageLocation As String

 Property Value

A string containing the file path. The default is null (Nothing in Visual Basic).

 Remarks

Assigning a valid file path to this property will automatically load the image. When adding a shape to a ShapeLibrary, if the Image property is set and the image location is not specified, the image bitmap contents is stored in the library file. If the image location is specified, only the path to the image file is saved in the shape library.

 See Also

Shape Members
Shape Class
MindFusion.Diagramming Namespace