UnitInfo Class

In Synthesis desktop applications, these units are shown in the Manage Units window.

Properties

 * ID (as integer)
 * Name (as string)
 * Abbreviation (as string)
 * Multiplier (as double)

Usage Example
In this usage example, the multiplier for the first unit of measurement in a repository is retrieved. Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.SetCurrentProject(1) Dim ListOfUnits As UnitInfo ListOfUnits = MyRepository.GetAllUnits Dim Mult As Double Mult = ListOfUnits(0).Multiplier