public interface IUnitConverter
extends java.io.Serializable
Description: 'Provides access to members used for converting units.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID1f3fbca9_6611_4567_88e4_e0fa8b6fb26d |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
double |
convertUnits(double dValue,
int inUnits,
int outUnits)
Convert Esri units.
|
java.lang.String |
esriUnitsAsString(int units,
int appearance,
boolean bPlural)
Convert Esri unit enumerations to strings.
|
static final int IID1f3fbca9_6611_4567_88e4_e0fa8b6fb26d
static final int xxDummy
static final java.lang.String IID
double convertUnits(double dValue, int inUnits, int outUnits) throws java.io.IOException, AutomationException
dValue
- The dValue (in)inUnits
- A com.esri.arcgis.system.esriUnits constant (in)outUnits
- A com.esri.arcgis.system.esriUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String esriUnitsAsString(int units, int appearance, boolean bPlural) throws java.io.IOException, AutomationException
units
- A com.esri.arcgis.system.esriUnits constant (in)appearance
- A com.esri.arcgis.system.esriCaseAppearance constant (in)bPlural
- The bPlural (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.