Click or drag to resize

RelativeDocumentPathGetRelativePathFromTo(IDocumentLeafNode, IDocumentLeafNode) Method

Retrieves the relative path from the node startnode to the node endnode.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static RelativeDocumentPath? GetRelativePathFromTo(
	IDocumentLeafNode startnode,
	IDocumentLeafNode endnode
)

Parameters

startnode  IDocumentLeafNode
The node where the path begins.
endnode  IDocumentLeafNode
The node where the path ends.

Return Value

RelativeDocumentPath
If the two nodes share a common root, the function returns the relative path from startnode to endnode. If the nodes have no common root, then the function returns the absolute path of the endnode.
See Also