Converts an image path to one relative to the shape library path.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public static string ConvertToRelativePath ( |
Visual Basic Copy Code |
---|
Public Shared Function ConvertToRelativePath( _ |
The path that contains the image.
The path that contains the shape library.
A string value that represents the relative path.
Returns a relative version of imagePath with respect to shapeLibraryPath to facilitate ShapeLibrary transport/distribution.
WpfDiagram Programmer's Guide | © 2024 MindFusion |