GxImage: ScreenPosToViewPosV

ScreenPosToViewPosV

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



 Public Function ScreenPosToViewPosV(
	  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 viewed image coordinate.

Languages

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

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

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

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods ScreenPosToViewPos SetIntProperty