Global Mapper SDK
| GM_Layer_t .GetPixelDataInRect Method |
Retrieves an entire chunk of raw data from 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 GetPixelDataInRect ( GM_Layer_t aLayer, GM_Rectangle_t aPixelRect, ref GM_RasterLayout_t aRasterLayout, IntPtr aDataBuf, IntPtr aReserved
)
Parameters
- aRasterLayout
-
Type:
GlobalMapper
.
GM_RasterLayout_t
IN: Raster layout (some values used if non-zero, like mBytesPerRow, other values filled in) - aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: Layer to get band values from - aReserved
-
Type: System
.
IntPtr
IN: Reserved for future use, must be NULL - aPixelRect
-
Type:
GlobalMapper
.
GM_Rectangle_t
IN: rectangle of pixels to extract from layer - aDataBuf
-
Type: System
.
IntPtr
OUT: buffer that will be filled with the image data.
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.