The ltmsPathResolver object contains a collection of variables that can be used to resolve any toolkit file path. The variables are represented in the file path using the form %key%.
These variables can be used in the code or in the XML configuration file. For example, one of the first lines in the XML file sets the media folder to be equal to %ltmsMediaFolder%. The default value of this variable is shown in the table below. Note that when you call ltmsPathResolver, you need to strip out the leading and trailing "%".
The ltmsPathResolver object is initially populated with the following variables:
Key |
Value |
ltmsLibFolder |
Path to the folder containing the LTMS DLL |
ltmsAppFolder |
Path to the folder containing the calling application |
ltmsRootFolder |
Path to the folder containing the calling application |
ltmsMediaFolder |
%ltmsRootFolder%\media |
ltmsLogFolder |
%ltmsRootFolder%\logs |
ltmsConfigFolder |
%ltmsRootFolder%\config |
Interfaces |
|
CLSID |
CLSID_ltmsPathResolver |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET