GM_Layer_tGetLocationColor 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:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public GM_Error_t32 GetLocationColor(
double aXCoord,
double aYCoord,
out GM_Color_t aColor
)
Public Function GetLocationColor (
aXCoord As Double,
aYCoord As Double,
<OutAttribute> ByRef aColor As GM_Color_t
) As GM_Error_t32
public:
GM_Error_t32 GetLocationColor(
double aXCoord,
double aYCoord,
[OutAttribute] GM_Color_t% aColor
)
Parameters
- aXCoord
- Type: SystemDouble
IN: X coord in current projection - aYCoord
- Type: SystemDouble
IN: Y coord in current projection - aColor
- Type: GlobalMapper.TypesGM_Color_t
OUT: Color of pixel at location
Return Value
Type:
GM_Error_t32A GM Error Code
See Also