CImage:XyToWcs

CImage:XyToWcsStr


The XyToWcsStr method converts a pixel coordinate to a world coordinate system position. The result is returned as 2 strings.

Syntax

sWorldX, sWorldY = CImage:XyToWcs( x, y )

    x and y are pixel coordinates in pixel units and may be numbers or strings.

    sWorldX and sWorldY are world coordinates and are strings.

    On success, this method returns 2 strings.

    On failure, this method returns two empty strings.

Related Topics

CImage, XyToWcs, WcsToXy, Image Coordinate System, Subpixel Coordinate Definition