The ShapeLibrary class represents a collection of shape definitions stored together.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public class ShapeLibrary |
Visual Basic Copy Code |
---|
Public Class ShapeLibrary |
Shape libraries can be created using the ShapeDesigner tool that comes with WpfDiagram. Use the LoadFrom method to load a shape library from a file. The loaded shapes can be accessed through the Shapes property. They will be automatically added to the shared list of shapes kept in the Shape class, which lets you access them by calling the FromId method. A shape library can be saved into a file in XML based format using the SaveTo method.
System.Object
MindFusion.Diagramming.Wpf.ShapeLibrary
WpfDiagram Programmer's Guide | © 2024 MindFusion |