GM_Layer_tGetPixelColor Method (Int32, Int32, GM_Color_t) |
Retrieves the color at a given pixel location in the provided layer.
Namespace:
GlobalMapper.Types
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public GM_Error_t32 GetPixelColor(
int aRow,
int aCol,
out GM_Color_t aColor
)
Public Function GetPixelColor (
aRow As Integer,
aCol As Integer,
<OutAttribute> ByRef aColor As GM_Color_t
) As GM_Error_t32
public:
GM_Error_t32 GetPixelColor(
int aRow,
int aCol,
[OutAttribute] GM_Color_t% aColor
)
Parameters
- aRow
- Type: SystemInt32
IN: Y coord of pixel (0 is topmost) - aCol
- Type: SystemInt32
IN: X coord of pixel (0 is leftmost) - aColor
- Type: GlobalMapper.TypesGM_Color_t
OUT: Color of pixel at location
Return Value
Type:
GM_Error_t32A GM Error Code
See Also