Click or drag to resize
CEMAPTEMPLATEiGetRect Method
Returns the coordinates of a user selected box starting at a corner.

Available since Oasis montaj version: 5.0.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The coordinates are returned in the current template units (See GetUnits and SetUnits in MAPTEMPLATE)
Syntax
public int iGetRect(
	string str1,
	ref double d2,
	ref double d3,
	ref double d4,
	ref double d5
)

Parameters

str1
Type: SystemString
user prompt string
d2
Type: SystemDouble
X minimum in current view user units. (defines corner)
d3
Type: SystemDouble
Y
d4
Type: SystemDouble
X maximum
d5
Type: SystemDouble
Y

Return Value

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