SetMapTiePoint

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.

 

HRESULT SetMapTiePoint(

[in] int TiePointIndex,

[in] double MapX,

[in] double MapY)

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

E_INVALIDARG

There is a problem with one or more of the arguments passed to this method. Use the IErrorInfo interface to extract more information about this error.