Click or drag to resize

CEMAP.iGetLineEx Method

Returns the end points of a line.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iGetLineEx(
	string str_val,
	ref double min_x,
	ref double min_y,
	ref double max_x,
	ref double max_y
)

public int iGetLineEx(
	string str_val,
	ref double min_x,
	ref double min_y,
	ref double max_x,
	ref double max_y
)

Parameters

str_val
Type: System.String
User prompt string
min_x
Type: System.Double
X1 in view user units
min_y
Type: System.Double
Y1
max_x
Type: System.Double
X2
max_y
Type: System.Double
Y2

Return Value

Type: Int32
0 if line returned. 1 - Right Mouse 2 - Escape/Cancel
Remarks
The coordinates are returned in the current User projection (See GetUserIPJ_MVIEW and SetUserIPJ_MVIEW.)
See Also