CImageView:SetCursorPos CImageView:SetCursorRect

CImageView:SetCursorPosWcs


The SetCursorPosWcs method sets the center position of the image cursor in the CImageView using world coordinates, rather than pixel coordinates.

Syntax

CImageView:SetCursorPosWcs( x, y )

    The x and y values specify the target position in world coordinates, and may be numbers or strings.

Remarks

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.

Related Topics

CImageView, SetCursorPos, GetCursorPos, Image Coordinate System, Subpixel Coordinate Definition