This method adds a map tie point to the currently selected map. You should call SetTerrainTiePoint with the same TiePointIndex to define the respective terrain point coordinate. When all three (0, 1 and 2) indexes are set with both terrain and map points, the map is referenced.
JavaScript |
|
SetMapTiePoint( TiePointIndex, MapX, MapY) |
C# |
|
void SetMapTiePoint( int TiePointIndex, double MapX, double MapY) |
C++ |
|
HRESULT SetMapTiePoint( int TiePointIndex, double MapX, double MapY) |
Parameters
TiePointIndex
An integer value of 0, 1, or 2 that defines which of the possible three tie points is set.
MapX
The West-East coordinate in map pixels.
MapY
The North-South coordinate in map pixels.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.