![](../icons/Help.png) | CEMAPiGetBox 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic int iGetBox(
string str_val,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y
)
Public Function iGetBox (
str_val As String,
ByRef min_x As Double,
ByRef min_y As Double,
ByRef max_x As Double,
ByRef max_y As Double
) As Integer
public:
int iGetBox(
String^ str_val,
double% min_x,
double% min_y,
double% max_x,
double% max_y
)
member iGetBox :
str_val : string *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref -> int
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