GetCoordString Method
Description
Gets the string representation of a position.
Syntax
Visual Basic |
---|
Public Function GetCoordString( _ ByVal coordClass As String, _ ByVal x As Double, _ ByVal y As Double, _ ByVal z As Double _ ) As String |
Parameters
- coordClass
- The coordinate format class to use in interpreting the x, y, z coordinates.
-
AGridAxes
AGridGrid
AGridIrish
AGridJapanDM
AGridJapanPC
AGridLatLon
AGridPath
AGridNatGrid
AGridBearing
AGridBearingRelative
AGridSurvey
AGridWgs84
- x
- The x coordinate position to be converted into the format specified by the coordClass argument.
- y
- The y coordinate position to be converted into the format specified by the coordClass argument.
- z
- The z coordinate position to be converted into the format specified by the coordClass argument.
Return Type
A string in the coordinate format specified by the coordClass argument.
Remarks
The supported coordinate formats can be found using the CoordClasses system variable.
See also Coordinate Grids for more details.
Available: GEO D OD OM OV SISpy
Group:
Example
sis.GetCoordString ("AGridNatGrid", 100, 100, 100)