Click or drag to resize

FileUtilityGetRelativePath Method

Converts a given absolute path and a given base path to a path that leads from the base path to the absolute path as a relative path.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string GetRelativePath(
	string baseDirectoryPath,
	string absPath
)

Parameters

baseDirectoryPath  String
The base directory path.
absPath  String
The absolute path.

Return Value

String
The relative path from baseDirectoryPath to absPath.
See Also