GxImage: ImagePosToScreenPos

ImagePosToScreenPos

This method converts image coordinates to screen coordinates.



 Public Function ImagePosToScreenPos(
	  ByVal xi As Long,
	  ByVal yi As Long,
	  ByRef xsc As Long,
	  ByRef ysc As Long ) As Long

Parameters

xi
Horizontal image coordinate.
yi
Vertical 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 ImagePosToScreenPos(ByVal xi As Long, ByVal yi As Long, ByRef xsc As Long, ByRef ysc As Long) As Long

[Delphi] function ImagePosToScreenPos(xi : Integer; yi : Integer; var xsc : Integer; var ysc : Integer) : Integer;

[C++] long ImagePosToScreenPos(long xi, long yi, long* xsc, long* ysc);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods ImageOLEPicture ImagePosToScreenPosV