Converts a value from one specified measure unit to another.
Namespace:
PerpetuumSoft.Framework.DrawingAssembly: PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1
Syntax
| C# |
|---|
public static double Convert( double value, Unit fromUnit, Unit toUnit ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Convert ( _ value As Double, _ fromUnit As Unit, _ toUnit As Unit _ ) As Double |
| Visual C++ |
|---|
public: static double Convert( double value, Unit fromUnit, Unit toUnit ) |
Parameters
- value
- Type: System..::.Double
- fromUnit
- Type: PerpetuumSoft.Framework.Drawing..::.Unit
- toUnit
- Type: PerpetuumSoft.Framework.Drawing..::.Unit