GxImage: LineTo

LineTo

This method draws a line from the drawing cursor to the (x,y) point. The coordinates must be in image coordinates.



 Public Function LineTo(
	  ByVal x As Long,
	  ByVal y As Long ) As Long

Parameters

x
Horizontal image coordinate of the end point of the line.
y
Vertical image coordinate of the end point of the line.

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 LineTo(ByVal x As Long, ByVal y As Long) As Long

[Delphi] function LineTo(x : Integer; y : Integer) : Integer;

[C++] long LineTo(long x, long y);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods LineStyle LineWidth