Defines methods that can be used to implement serialization of custom image source types.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public interface JsonImageHandler |
Visual Basic
![]() |
---|
Public Interface JsonImageHandler |
Implement this interface if you need to save custom image sources to JSON format, and assign its instance to the static ImageHandler field of JsonPersistContext. Out of the box, the diagram control can save only BitmapSource images.
WpfDiagram Programmer's Guide | © 2025 MindFusion |