GM_UtilityConvertCoordLayerGroundToPixel 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 ConvertCoordLayerGroundToPixel(
GM_Layer_t aLayer,
double aGroundX,
double aGroundY,
out double aPixelX,
out double aPixelY
)
Public Shared Function ConvertCoordLayerGroundToPixel (
aLayer As GM_Layer_t,
aGroundX As Double,
aGroundY As Double,
<OutAttribute> ByRef aPixelX As Double,
<OutAttribute> ByRef aPixelY As Double
) As GM_Error_t32
public:
static GM_Error_t32 ConvertCoordLayerGroundToPixel(
GM_Layer_t^ aLayer,
double aGroundX,
double aGroundY,
[OutAttribute] double% aPixelX,
[OutAttribute] double% aPixelY
)
Parameters
- aLayer
- Type: GlobalMapper.TypesGM_Layer_t
IN: raster layer to do conversion in - aGroundX
- Type: SystemDouble
IN: X Coord in current projection - aGroundY
- Type: SystemDouble
IN: Y Coord in current projection - aPixelX
- Type: SystemDouble
OUT: X Coord in layer pixel space - aPixelY
- Type: SystemDouble
OUT: Y Coord in layer pixel space
Return Value
Type:
GM_Error_t32A GM Error Code
See Also