skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » FileSystem » string GetRelativeTo (string path, string anchorPath)
string GetRelativeTo (string path, string anchorPath)
 
Determines the relative path from the absolute anchor path to the absolute destination path.May return an absolute path if no relative path exists.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
anchorPath
Full pathname of the anchor file.
Returns:
The relative to path.
Was this helpful?
Last modified date: 10/14/2020