This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > IConversionNotation Interface > IConversionNotation.GetGARSFromCoords Method (ArcObjects .NET 10.5 SDK) |
Returns the GARS description of a point.
[Visual Basic .NET] Public Function GetGARSFromCoords ( _ ) As String
[C#] public string GetGARSFromCoords ( );
[C++]
HRESULT GetGARSFromCoords(
BSTR* GARSString
);
[C++]
Parameters GARSString [out, retval] GARSString is a parameter of type BSTR
The GetGARSFromCoords method returns an alphanumeric string from a Point that has either geographic or projected coordinates. The Point must have a spatial reference that has a defined coordinate system. The Global Area Reference System (GARS) is used for military referencing. More information is at http://earth-info.nga.mil/GandG/coordsys/grids/gars.html
longitude=-100.0
latitude=40.0
GARS=161LW37