GxImage: ImagePosToViewPos

ImagePosToViewPos

This method converts image coordinates to viewed image coordinates.



 Public Function ImagePosToViewPos(
	  ByVal xi As Long,
	  ByVal yi As Long,
	  ByRef xv As Long,
	  ByRef yv As Long ) As Long

Parameters

xi
Horizontal image coordinate.
yi
Vertical image coordinate.
xv
Horizontal viewed image coordinate (computed).
yv
Vertical viewed image 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 ImagePosToViewPos(ByVal xi As Long, ByVal yi As Long, ByRef xv As Long, ByRef yv As Long) As Long

[Delphi] function ImagePosToViewPos(xi : Integer; yi : Integer; var xv : Integer; var yv : Integer) : Integer;

[C++] long ImagePosToViewPos(long xi, long yi, long* xv, long* yv);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods ImagePosToViewPos ImagePosToViewPos