![]() ![]() |
CImage:XyToWcs
The XyToWcs method converts a pixel coordinate to a world coordinate system position. The result is returned as 2 numbers.
nWorldX, nWorldY = CImage:XyToWcs( x, y ) |
x and y are pixel
coordinates in pixel units and may be numbers or strings.
nWorldX and nWorldY are
world coordinates and are numbers.
On success,
this method returns 2 numbers.
On failure,
this method returns 0,0.
CImage, XyToWcsStr, WcsToXy, Image Coordinate System, Subpixel Coordinate Definition