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 |
Component | Description |
---|---|
Interfaces | IltmsPathResolver |
CLSID | CLSID_ltmsPathResolver |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document