CImage:WcsToXy
The WcsToXy method converts a world coordinate system position to a pixel coordinate. Note that the image begins at fractional pixel coordinate 0.5.
x, y = CImage:WcsToXy( sWorldX, sWorldY ) where |
sWorldX and sWorldY are world coordinates and may be numbers or strings.
x and y are pixel coordinates in pixel units.