MapAPI.getBkgndColorAtLoc

 

COLORREF getBkgndColorAtLoc(string x, string y)

This method returns the background color at the location given by x and y, where the given coordinates are assumed to be referred to the Exchange Coordinate System, unless the map is of type NRMR (See Map Types).  In the latter case, the given coordinates are assumed to be in the map's own coordinate system.

The background is the last persistent layer drawn in the view, as defined in the SAF, or as modified by calls to LayerAPI.shiftPriorityUp and applyLayerChanges.