Table of Contents

Method RelativePath

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The path from a folder to a file, ..\data\parts.xlsx; the file's full path where it is on another drive.

public static string RelativePath(string folder, string file)

Parameters

folder string

The folder.

file string

The file's full path.

Returns

string

The relative path.