Click or drag to resize
CSTKIGetLabelParms Method (Int32, Double, Int32, Double, Int32, Double, String, Double, String, Int32, Int32)
Get 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 IGetLabelParms(
	ref int axis,
	ref double min_loc,
	ref int min_orient,
	ref double max_loc,
	ref int max_orient,
	ref double interval,
	ref string font,
	ref double text_size,
	ref string color,
	ref int bound,
	int xy
)

Parameters

axis
Type: SystemInt32
Which axes to draw: 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