GM_Layer_tGetPixelBandValue Method (Int32, Int32, Int32, Int32) |
Retrieves the band value at a given pixel location in the provided layer.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public GM_Error_t32 GetPixelBandValue(
int aRow,
int aCol,
int aBand,
out int aVal
)
Parameters
- aRow
- Type: SystemInt32
IN: Y coord of pixel (0 is topmost) - aCol
- Type: SystemInt32
IN: X coord of pixel (0 is leftmost) - aBand
- Type: SystemInt32
IN: Band to get value for (0-based, so first band is 1) - aVal
- Type: SystemInt32
OUT: Color of pixel at location
Return Value
Type:
GM_Error_t32A GM Error Code
See Also