Click or drag to resize
CSTKSetProfileEx Method
Set profile parameters in STK object (added Break on dummy option)

Available since Oasis montaj version: 5.0.3
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 SetProfileEx(
	int prof_type,
	double pitch,
	double thick,
	string ln_clr,
	int break_dum,
	int wrap,
	int clip,
	int smooth,
	CVV vv_ind,
	string label,
	int ref,
	string font,
	double text_size,
	string text_clr,
	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
break_dum
Type: SystemInt32
Break on dummy option
wrap
Type: SystemInt32
Wrap option
clip
Type: SystemInt32
Clip option
smooth
Type: SystemInt32
Plot smoothed polyline.
vv_ind
Type: GeoEngine.Core.GXNetXCVV
Integers starting from 0 indicating windows in VA channel to draw VV type of INT (integer)
label
Type: SystemString
Characters string to label profiles
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
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
prof_va_num
Type: SystemInt32
Include VA column numbers as part of the profile label 0 - no, 1 - yes
See Also