Table of Contents

Method GetProjectPath

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

GetProjectPath(string)

Converts an absolute path into a relative path, if the absolute path is relative to the project path.

public static string GetProjectPath(string path)

Parameters

path string

The path to convert.

Returns

string

The project relative path, if the path is absolute but located in any subdirectory of the project path.