Click or drag to resize
CSTKSetLabelParms Method
Set parameters in STK object relating X/Y axis labels

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 ? mark in the note represent either X and Y Sets the label format to GSF_NORMAL. To override this, use the SetAxisFormat_STK function AFTER calling this.
Syntax
public void SetLabelParms(
	int axis,
	double min_loc,
	int min_orient,
	double max_loc,
	int max_orient,
	double interval,
	string font,
	double text_size,
	string color,
	int bound,
	int xy
)

Parameters

axis
Type: SystemInt32
Bottom/Top or Left/Right axes
min_loc
Type: SystemDouble
Bottom or Left axis label location
min_orient
Type: SystemInt32
Bottom or Left labels orientation.
max_loc
Type: SystemDouble
Top or Right axis label location
max_orient
Type: SystemInt32
Top or Right axis label orientation
interval
Type: SystemDouble
Label interval. Default is to use related axis tick interval
font
Type: SystemString
Font to use to label. Default is use 'default' font set in Montaj
text_size
Type: SystemDouble
Text size in mm to draw profile labels. Default is 5mm
color
Type: SystemString
Text color string in RGB model. Default is black
bound
Type: SystemInt32
?LABELBOUND - Edge bound. 0 - No
xy
Type: SystemInt32
<define>STK_AXIS</define>
See Also