 | CEMAP.iGetLineEx Method |
Returns the end points of a line.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iGetLineEx(
string str_val,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y
)
public int iGetLineEx(
string str_val,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y
)
Public Function iGetLineEx (
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 Function iGetLineEx (
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 iGetLineEx(
String^ str_val,
double% min_x,
double% min_y,
double% max_x,
double% max_y
)
public:
int iGetLineEx(
String^ str_val,
double% min_x,
double% min_y,
double% max_x,
double% max_y
)
member iGetLineEx :
str_val : string *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref -> int
member iGetLineEx :
str_val : string *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref -> int
Parameters
- str_val
- Type: System.String
User prompt string - min_x
- Type: System.Double
X1 in view user units - min_y
- Type: System.Double
Y1 - max_x
- Type: System.Double
X2 - max_y
- Type: System.Double
Y2
Return Value
Type:
Int32
0 if line returned.
1 - Right Mouse
2 - Escape/Cancel
Remarks
The coordinates are returned in the current User projection
(See GetUserIPJ_MVIEW and SetUserIPJ_MVIEW.)
See Also