Click or drag to resize

CEMAPiGetBox Method

Returns the coordinates of a user selected box.

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

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

Parameters

str_val
Type: SystemString
User prompt string
min_x
Type: SystemDouble
X minimum in current view user units.
min_y
Type: SystemDouble
Y
max_x
Type: SystemDouble
X maximum
max_y
Type: SystemDouble
Y

Return Value

Type: Int32
0 if point returned. 1 if user cancelled.
See Also