Click or drag to resize

CSTK.SetProfileEx Method

Set profile parameters in STK object (added Break on dummy option)

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
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
)

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: System.Int32
Profile line type. 1 - solid (default)
pitch
Type: System.Double
Patterned line pitch in mm. Default is 10 mm
thick
Type: System.Double
Line thickness in mm. Default is 0.05mm
ln_clr
Type: System.String
Color string in RGB model. Default is black
break_dum
Type: System.Int32
Break on dummy option
wrap
Type: System.Int32
Wrap option
clip
Type: System.Int32
Clip option
smooth
Type: System.Int32
Plot smoothed polyline.
vv_ind
Type: GeoEngine.Core.GXNet.CVV
Integers starting from 0 indicating windows in VA channel to draw VV type of INT (integer)
label
Type: System.String
Characters string to label profiles
ref
Type: System.Int32
Reference location to draw label.
font
Type: System.String
Font to use to draw profile labels. Default is use 'default' font set in Montaj
text_size
Type: System.Double
Text size in mm to draw profile labels. Default is 5mm
text_clr
Type: System.String
Text color string in RGB model. Default is black
prof_va_num
Type: System.Int32
Include VA column numbers as part of the profile label 0 - no, 1 - yes
Remarks
See MSTK for detailed description of all function parameters
See Also