 | CMSTKIFindSTK Method (String, Int32, String, String, String) |
Find index of STK from a string of group names and X/Y channels
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void IFindSTK(
string str_val,
ref int index,
ref string group,
ref string x_ch,
ref string y_ch
)
public void IFindSTK(
string str_val,
ref int index,
ref string group,
ref string x_ch,
ref string y_ch
)
Public Sub IFindSTK (
str_val As String,
ByRef index As Integer,
ByRef group As String,
ByRef x_ch As String,
ByRef y_ch As String
)
Public Sub IFindSTK (
str_val As String,
ByRef index As Integer,
ByRef group As String,
ByRef x_ch As String,
ByRef y_ch As String
)
public:
void IFindSTK(
String^ str_val,
int% index,
String^% group,
String^% x_ch,
String^% y_ch
)
public:
void IFindSTK(
String^ str_val,
int% index,
String^% group,
String^% x_ch,
String^% y_ch
)
member IFindSTK :
str_val : string *
index : int byref *
group : string byref *
x_ch : string byref *
y_ch : string byref -> unit
member IFindSTK :
str_val : string *
index : int byref *
group : string byref *
x_ch : string byref *
y_ch : string byref -> unit
Parameters
- str_val
- Type: SystemString
Input string (see notes above). Will be modified on return - index
- Type: SystemInt32
Index to the STK found, Must be greater than 0 if found, -1 if not found - group
- Type: SystemString
Output group name string - x_ch
- Type: SystemString
Output X channel name string - y_ch
- Type: SystemString
Output Y channel name string
Remarks
Format of the input string:
Map group name + " ( " + X channel name + " , " + Y channel name + " )"
for example, string "DATA ( DIST , MAG )" indicates a map group name of DATA,
X channel name of DIST and Y channel name of MAG.
See Also