Click or drag to resize

CEMAPiGetPointEx Method

Returns the coordinates of a user selected point.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iGetPointEx(
	string str_val,
	ref double x,
	ref double y
)

public int iGetPointEx(
	string str_val,
	ref double x,
	ref double y
)

Parameters

str_val
Type: SystemString
User prompt string
x
Type: SystemDouble
X coordinate in current view user units.
y
Type: SystemDouble
Y

Return Value

Type: Int32
0 if point returned. 1 if user used right mouse and then Done. 2 if user cancelled. 3 if capture is lost.
Remarks
This will wait for user to select a point.
See Also