long setExchCoordSysFromMapInView(int viewIndex)

This method destroys the current Exchange Coordinate System and replaces it with the one used by the map displayed in the view with index viewIndex.

The method returns 0 if the coordinate system is set successfully, and returns an error code if viewIndex is out of range or the view contains a map of type NRMR (See map types).