This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.ConvertDisplayCoordUnit Method (ArcObjects .NET 10.4 SDK) |
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