ElementByKey(ElementKey: Variant): Integer;
ElementKey. The key of dictionary element.
The ElementByKey property returns element index by its key.
With element index the user can get:
Base element: IUnitsDimInstance.BasisByElement.
Indicates whether an element is base unit of measure: IUnitsDimInstance.IsUnit.
Element measure: IUnitsDimInstance.MeasureByElement.
Scale of element: IUnitsDimInstance.Scale.
The property use is given in the example for the IUnitsDimInstance.BasisByElementKey property.
See also: