 | CEMAPTEMPLATEiGetPoint 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
Syntaxpublic int iGetPoint(
string str_val,
ref double x,
ref double y
)
public int iGetPoint(
string str_val,
ref double x,
ref double y
)
Public Function iGetPoint (
str_val As String,
ByRef x As Double,
ByRef y As Double
) As Integer
Public Function iGetPoint (
str_val As String,
ByRef x As Double,
ByRef y As Double
) As Integer
public:
int iGetPoint(
String^ str_val,
double% x,
double% y
)
public:
int iGetPoint(
String^ str_val,
double% x,
double% y
)
member iGetPoint :
str_val : string *
x : float byref *
y : float byref -> int
member iGetPoint :
str_val : string *
x : float byref *
y : float byref -> int
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 cancelled.
Remarks
The coordinates are returned in the current template units
(See GetUnits and SetUnits in MAPTEMPLATE)
See Also