Click or drag to resize
CMSTKIFindSTK Method (String, Int32, String, String, String)
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.GXNetX
Assembly: 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,
	ref string x_ch,
	ref string y_ch
)

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
See Also