This document is archived and information here might be outdated.  Recommended version.


IMensuration.ConvertDisplayCoordUnit Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMensuration.ConvertDisplayCoordUnit Method

Gets different coordinate unit display representation for input point (latitude, longitude).

[Visual Basic .NET]
Public Function ConvertDisplayCoordUnit ( _
    ByVal desiredDisplayUnit As esriDisplayCoordUnitType, _
    ByVal pGeographicPt As IPoint _
) As String
[C#]
public string ConvertDisplayCoordUnit (
    esriDisplayCoordUnitType desiredDisplayUnit,
    IPoint pGeographicPt
);
[C++]
HRESULT ConvertDisplayCoordUnit(
  esriDisplayCoordUnitType desiredDisplayUnit,
  IPoint* pGeographicPt,
  BSTR* pDisplayUnit
);
[C++]

Parameters desiredDisplayUnit [in]
desiredDisplayUnit is a parameter of type esriDisplayCoordUnitType pGeographicPt [in]
pGeographicPt is a parameter of type IPoint pDisplayUnit [out, retval] pDisplayUnit is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMensuration Interface