GxImage: ViewPosToScreenPos

ViewPosToScreenPos

This method converts viewed image coordinates to screen coordinates.



 Public Function ViewPosToScreenPos(
	  ByVal xv As Long,
	  ByVal yv As Long,
	  ByRef xsc As Long,
	  ByRef ysc As Long ) As Long

Parameters

xv
Horizontal viewed image coordinate.
yv
Vertical viewed image coordinate.
xsc
Horizontal screen coordinate (computed).
ysc
Vertical screen coordinate (computed).

Return Values

On error false (0) is returned and the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function ViewPosToScreenPos(ByVal xv As Long, ByVal yv As Long, ByRef xsc As Long, ByRef ysc As Long) As Long

[Delphi] function ViewPosToScreenPos(xv : Integer; yv : Integer; var xsc : Integer; var ysc : Integer) : Integer;

[C++] long ViewPosToScreenPos(long xv, long yv, long* xsc, long* ysc);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods ViewPosToImagePosV ViewPosToScreenPosV