[Visual Basic] Public Function SetValueWithUnit( _ ByVal Value As Object, _ ByVal Unit As EpUnit, _ Optional ByVal ValueInSI As Boolean = VARIANT_FALSE _ ) As Boolean [C#] public bool SetValueWithUnit( object Value, EpUnit Unit, bool ValueInSI ); [C++] public: bool SetValueWithUnit( Object* Value, EpUnit Unit, bool ValueInSI ); [JScript] public function SetValueWithUnit( Object Value, EpUnit Unit, bool ValueInSI ): bool;
sets the value and the unit; choose ValueInSI according whether the given Value is in SI-unit or the specified unit
UnitValue Class | EbsOpen Namespace