Click or drag to resize

MamlRendererGetFileNameRelativeTo Method

Gets the file name relative to a directory. The returned relative file name is HTML friendly.

Namespace: Altaxo.Text.Renderers
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string GetFileNameRelativeTo(
	string fullFileName,
	string baseDirectory
)

Parameters

fullFileName  String
Full name of the file.
baseDirectory  String
The full name of the directory.

Return Value

String
The path name relative to the provided directory. Backslashes are replaced with slashes to conform with HTML style.
See Also