SetTerrainTiePoint

This method adds a terrain tie point to the currently selected map. You must call SetMapTiePoint with the same TiePointIndex to define the respective map point coordinate. When all three (0, 1 and 2) indexes are set with both terrain and map points, the map is referenced.

 

JavaScript

 

SetTerrainTiePoint(

       TiePointIndex,

       TerrainX,

       TerrainY)

 

C#

 

void SetTerrainTiePoint(

       int TiePointIndex,

       double TerrainX,

       double TerrainY)

 

C++

 

HRESULT SetTerrainTiePoint(

       int TiePointIndex,

       double TerrainX,

       double TerrainY)

Parameters

TiePointIndex

An integer value of 0, 1, or 2 that defines which of the possible three tie points is set.

TerrainX

The West-East coordinate in the coordinate system’s units.

TerrainY

The North-South coordinate in the coordinate system’s units.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.