| CMSTKIFindSTK Method (String, Int32, String, Int32, String, Int32, String, Int32) |
Find index of STK from a string of group names and X/Y channels
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntax public void IFindSTK(
string str_val,
ref int index,
ref string group,
int group_sz,
ref string x_ch,
int x_ch_sz,
ref string y_ch,
int y_ch_sz
)
Public Sub IFindSTK (
str_val As String,
ByRef index As Integer,
ByRef group As String,
group_sz As Integer,
ByRef x_ch As String,
x_ch_sz As Integer,
ByRef y_ch As String,
y_ch_sz As Integer
)
public:
void IFindSTK(
String^ str_val,
int% index,
String^% group,
int group_sz,
String^% x_ch,
int x_ch_sz,
String^% y_ch,
int y_ch_sz
)
member IFindSTK :
str_val : string *
index : int byref *
group : string byref *
group_sz : int *
x_ch : string byref *
x_ch_sz : int *
y_ch : string byref *
y_ch_sz : int -> 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 - group_sz
- Type: SystemInt32
Group string length - x_ch
- Type: SystemString
Output X channel name string - x_ch_sz
- Type: SystemInt32
X string length - y_ch
- Type: SystemString
Output Y channel name string - y_ch_sz
- Type: SystemInt32
Y string length
See Also