MindFusion.Wpf Pack Programmer's Guide
ShapeLibrary.ConvertToRelativePath Method
See Also
 





Converts an image path to one relative to the shape library path.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static string ConvertToRelativePath (
    string imagePath,
    string shapeLibraryPath
)

Visual Basic  Copy Code

Public Shared Function ConvertToRelativePath( _
    imagePath As String, _
    shapeLibraryPath As String _
) As String

 Parameters

imagePath

The path that contains the image.

shapeLibraryPath

The path that contains the shape library.

 Return Value

A string value that represents the relative path.

 Remarks

Returns a relative version of imagePath with respect to shapeLibraryPath to facilitate ShapeLibrary transport/distribution.

 See Also

ShapeLibrary Members
ShapeLibrary Class
MindFusion.Diagramming.Wpf Namespace