![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesSee MSTK for detailed description of all function parameters
Syntaxpublic 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
)
Public Sub IGetProfile (
ByRef prof_type As Integer,
ByRef pitch As Double,
ByRef thick As Double,
ByRef ln_clr As String,
ln_clr_sz As Integer,
ByRef wrap As Integer,
ByRef clip As Integer,
ByRef smooth As Integer,
vv_ind As CVV,
ByRef label As String,
label_sz As Integer,
ByRef ref As Integer,
ByRef font As String,
font_sz As Integer,
ByRef text_size As Double,
ByRef text_clr As String,
text_clr_sz As Integer,
ByRef prof_va_num As Integer
)
public:
void IGetProfile(
int% prof_type,
double% pitch,
double% thick,
String^% ln_clr,
int ln_clr_sz,
int% wrap,
int% clip,
int% smooth,
CVV^ vv_ind,
String^% label,
int label_sz,
int% ref,
String^% font,
int font_sz,
double% text_size,
String^% text_clr,
int text_clr_sz,
int% prof_va_num
)
member IGetProfile :
prof_type : int byref *
pitch : float byref *
thick : float byref *
ln_clr : string byref *
ln_clr_sz : int *
wrap : int byref *
clip : int byref *
smooth : int byref *
vv_ind : CVV *
label : string byref *
label_sz : int *
ref : int byref *
font : string byref *
font_sz : int *
text_size : float byref *
text_clr : string byref *
text_clr_sz : int *
prof_va_num : int byref -> unit
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