Click or drag to resize
CEMAPTEMPLATEiGetBox Method
Returns the coordinates of a user selected box.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The coordinates are returned in the current template units (See GetUnits and SetUnits in MAPTEMPLATE)
Syntax
public int iGetBox(
	string state,
	ref double min_x,
	ref double min_y,
	ref double max_x,
	ref double max_y
)

Parameters

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

Return Value

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