Global Mapper SDK
| GM_Layer_t .GetLocationColor Method (Double, Double, GM_Color_t ) |
Retrieves the color at a given location from a provided layer or from the
list of currently loaded raster and elevation layers (topmost layer first).
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public GM_Error_t32 GetLocationColor ( double aXCoord , double aYCoord , out GM_Color_t aColor )
Parameters
- aXCoord
-
Type:
System
.
Double
IN: X coord in current projection - aYCoord
-
Type:
System
.
Double
IN: Y coord in current projection - aColor
-
Type:
GlobalMapper
.
GM_Color_t
OUT: Color of pixel at location
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.