Click or drag to resize
CSTKIGetProfile Method (Int32, Double, Double, String, Int32, Int32, Int32, Int32, CVV, String, Int32, Int32, String, Int32, Double, String, Int32, Int32)
Get profile parameters in STK object

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
See MSTK for detailed description of all function parameters
Syntax
public void IGetProfile(
	ref int prof_type,
	ref double pitch,
	ref double thick,
	ref string ln_clr,
	int ln_clr_sz,
	ref int wrap,
	ref int clip,
	ref int smooth,
	CVV vv_ind,
	ref string label,
	int label_sz,
	ref int ref,
	ref string font,
	int font_sz,
	ref double text_size,
	ref string text_clr,
	int text_clr_sz,
	ref int prof_va_num
)

Parameters

prof_type
Type: SystemInt32
Profile line type. 1 - solid (default)
pitch
Type: SystemDouble
Patterned line pitch in mm. Default is 10 mm
thick
Type: SystemDouble
Line thickness in mm. Default is 0.05mm
ln_clr
Type: SystemString
Color string in RGB model. Default is black
ln_clr_sz
Type: SystemInt32
Color string length
wrap
Type: SystemInt32
Wrap option
clip
Type: SystemInt32
Clip option
smooth
Type: SystemInt32
Plot smoothed polyline.
vv_ind
Type: GeoEngine.Core.GXNetXCVV
Only use for VA channels. NULL is acceptable which means all profiles in the VA are plotted. VV type of INT (integer)
label
Type: SystemString
Characters string to label profiles
label_sz
Type: SystemInt32
Label string length
ref
Type: SystemInt32
Reference location to draw label.
font
Type: SystemString
Font to use to draw profile labels. Default is use 'default' font set in Montaj
font_sz
Type: SystemInt32
Font name string length
text_size
Type: SystemDouble
Text size in mm to draw profile labels. Default is 5mm
text_clr
Type: SystemString
Text color string in RGB model. Default is black
text_clr_sz
Type: SystemInt32
Color string length
prof_va_num
Type: SystemInt32
Include VA column numbers as part of the profile label 0 - no, 1 - yes
See Also