Gets or sets the path to the file that contains the image displayed in this shape.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public string ImageLocation { get; set; } |
Visual Basic Copy Code |
---|
Public Property ImageLocation As String |
A string containing the file path. The default is null (Nothing in Visual Basic).
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |