CImage:XyToWcs


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

Syntax

nWorldX, nWorldY = CImage:XyToWcs( x, y )

where

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

    nWorldX and nWorldY are world coordinates and are numbers.

Related Topics

XyToWcsStr

WcsToXy

CImage class

Image Coordinate System

Subpixel Coordinate Definition