| 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.GXNetXAssembly: 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
)
Public Sub SetLabelParms (
axis As Integer,
min_loc As Double,
min_orient As Integer,
max_loc As Double,
max_orient As Integer,
interval As Double,
font As String,
text_size As Double,
color As String,
bound As Integer,
xy As Integer
)
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
)
member SetLabelParms :
axis : int *
min_loc : float *
min_orient : int *
max_loc : float *
max_orient : int *
interval : float *
font : string *
text_size : float *
color : string *
bound : int *
xy : int -> unit
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