GxImage: ScreenPosToImagePosV

ScreenPosToImagePosV

This method converts screen coordinates to image coordinates (use for mouse event coordinates).



 Public Function ScreenPosToImagePosV(
	  ByVal xsc As Long,
	  ByVal ysc As Long ) As Variant

Parameters

xsc
Horizontal screen coordinate.
ysc
Vertical screen coordinate.

Return Values

A variant array. It contains two integers the computed horizontal and vertical image coordinate.

Languages

[Visual Basic] Public Function ScreenPosToImagePosV(ByVal xsc As Long, ByVal ysc As Long) As Variant

[Delphi] function ScreenPosToImagePosV(xsc : Integer; ysc : Integer) : OleVariant;

[C++] VARIANT ScreenPosToImagePosV(long xsc, long ysc);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods ScreenPosToImagePos ScreenPosToViewPos