GM_Utility .ConvertCoordLayerPixelToGround Method |
Convert a coordinate between layer pixel space and the current projection.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
Copy
public static GM_Error_t32 ConvertCoordLayerPixelToGround(
GM_Layer_t aLayer,
double aPixelX,
double aPixelY,
out double aGroundX,
out double aGroundY
)
Parameters
- aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: raster layer to do conversion in - aPixelX
-
Type:
System
.
Double
IN: X Coord in layer pixel space - aPixelY
-
Type:
System
.
Double
IN: Y Coord in layer pixel space - aGroundX
-
Type:
System
.
Double
OUT: X Coord in current projection - aGroundY
-
Type:
System
.
Double
OUT: Y Coord in current projection
Return Value
Type: GM_Error_t32A GM Error Code
