Global Mapper SDK
| GM_Layer_t .GetPixelColor Method (GM_Layer_t, Int32, Int32, GM_Color_t ) |
Retrieves the color at a given pixel location in the provided layer.
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public static GM_Error_t32 GetPixelColor ( GM_Layer_t aLayer , int aRow , int aCol , out GM_Color_t aColor )
Parameters
- aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: Layer to get color from - aRow
-
Type:
System
.
Int32
IN: Y coord of pixel (0 is topmost) - aCol
-
Type:
System
.
Int32
IN: X coord of pixel (0 is leftmost) - 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.