DiagramView.ShapeLibraryLocation Property
See Also

The location of a shape library file containing custom shape definitions.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms


C#  Copy Code

public string ShapeLibraryLocation { get; set; }

Visual Basic  Copy Code

Public Property ShapeLibraryLocation As String

 Property Value

A string specifying the path to the shape library file.


If ShapeLibraryLocation is set to a full URL, the server-side Diagram component will not load the library automatically. In such case the library can be loaded using the LoadFromXml method of ShapeLibrary. ShapeLibraryLocation could be set to a relative path, which allows loading the library automatically both on the server and the client side.

A shape library can be created by defining Shape objects programmatically, adding them to a ShapeLibrary and calling the SaveToXml method. The ShapeDesigner tool allows creating custom shapes interactively.

 See Also