CImageView:SetCursorPosWcs
The SetCursorPosWcs method sets the center position of the image cursor in the CImageView using world coordinates, rather than pixel coordinates.
CImageView:SetCursorPosWcs( x, y ) CImageView:SetCursorPosWcs( CPoint ) where |
x and y specify the target position in world coordinates, and may be numbers or strings.
CPoint is a CPoint object that specifies the target position in world coordinates. In this form, the CPoint values must be numbers like microns, mm, degrees, or other physical measurement unit.
This method uses the world coordinate calibration from the current image to compute the pixel position in the image window. This requires that a WCS calibration exist for the current displayed image. If no WCS calibration exists, Mira attempts to use the specified position as pixel coordinates.