GM_UtilityConvertCoordLayerPixelToGround Method |
Convert a coordinate between layer pixel space and the current projection.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 ConvertCoordLayerPixelToGround(
GM_Layer_t aLayer,
double aPixelX,
double aPixelY,
out double aGroundX,
out double aGroundY
)
Public Shared Function ConvertCoordLayerPixelToGround (
aLayer As GM_Layer_t,
aPixelX As Double,
aPixelY As Double,
<OutAttribute> ByRef aGroundX As Double,
<OutAttribute> ByRef aGroundY As Double
) As GM_Error_t32
public:
static GM_Error_t32 ConvertCoordLayerPixelToGround(
GM_Layer_t^ aLayer,
double aPixelX,
double aPixelY,
[OutAttribute] double% aGroundX,
[OutAttribute] double% aGroundY
)
Parameters
- aLayer
- Type: GlobalMapper.TypesGM_Layer_t
IN: raster layer to do conversion in - aPixelX
- Type: SystemDouble
IN: X Coord in layer pixel space - aPixelY
- Type: SystemDouble
IN: Y Coord in layer pixel space - aGroundX
- Type: SystemDouble
OUT: X Coord in current projection - aGroundY
- Type: SystemDouble
OUT: Y Coord in current projection
Return Value
Type:
GM_Error_t32A GM Error Code
See Also