All Cadcorp SIS API Methods

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

Coordinate Grid

AGridGrid

Grid item (e.g. DTM or DEM)

AGridIrish

Irish Grid

AGridJapanDM

Japanese Digital Map

AGridJapanPC

Japanese General Area Mesh

AGridLatLon

Latitude/Longitude

AGridPath

Linear coordinates

AGridNatGrid

OS (GB) National Grid

AGridBearing

Polar coordinates

AGridBearingRelative

Relative polar coordinates

AGridSurvey

Survey coordinates

AGridWgs84

WGS84 Latitude,Longitude,Height

 
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)