This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IU > IUnitConverter Interface > IUnitConverter.ConvertUnits Method (ArcObjects .NET 10.4 SDK) |
Convert Esri units.
[Visual Basic .NET] Public Function ConvertUnits ( _ ByVal dValue As Double, _ ByVal inUnits As esriUnits, _ ByVal outUnits As esriUnits _ ) As Double
[C#] public double ConvertUnits ( double dValue, esriUnits inUnits, esriUnits outUnits );
[C++]
HRESULT ConvertUnits(
double dValue,
esriUnits inUnits,
esriUnits outUnits,
double* outValue
);
[C++]
Parameters dValue [in] dValue is a parameter of type double inUnits [in]
inUnits is a parameter of type esriUnits outUnits [in]
outUnits is a parameter of type esriUnits outValue [out, retval] outValue is a parameter of type double
Converts the specified numeric data value from one unit of measure to another unit of measure.