This document is archived and information here might be outdated. Recommended version. |
Converts the specified units to a string abbreviation in upper or lower case.
[Visual Basic .NET] Public Function EsriUnitsAsAbbreviatedString ( _ ByVal units As esriARUnits, _ ByVal caseAppearance As esriARCaseAppearance _ ) As String
[C#] public string EsriUnitsAsAbbreviatedString ( esriARUnits units, esriARCaseAppearance caseAppearance );
Converts the specified units to an abbreviated string.
ARUnitConverter pARUnitConverter = axArcReaderControl1.ARUnitConverter;
//The following line will display a message box with the string "FT"
MessageBox.Show (pARUnitConverter.EsriUnitsAs AbbreviatedString(esriARUnits.esriARUnitsFeet, esriARCaseAppearanceUpper));
Dim pARUnitConverter As ARUnitConverter
pARUnitConverter = AxArcReaderControl1.ARUnitConverter
'The following line will display a message box with the string "FT"
Msgbox(pARUnitConverter.EsriUnitsAsAbbreviatedString(esriARUnits.esriARUnitsFeet, esriARCaseAppearanceUpper))