 | CSTKIGetLabelParms Method (Int32, Double, Int32, Double, Int32, Double, String, Int32, Double, String, Int32, Int32, Int32) |
Get parameters in STK object relating X/Y axis labels
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic 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,
int font_sz,
ref double text_size,
ref string color,
int color_sz,
ref int bound,
int xy
)
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,
int font_sz,
ref double text_size,
ref string color,
int color_sz,
ref int bound,
int xy
)
Public Sub IGetLabelParms (
ByRef axis As Integer,
ByRef min_loc As Double,
ByRef min_orient As Integer,
ByRef max_loc As Double,
ByRef max_orient As Integer,
ByRef interval As Double,
ByRef font As String,
font_sz As Integer,
ByRef text_size As Double,
ByRef color As String,
color_sz As Integer,
ByRef bound As Integer,
xy As Integer
)
Public Sub IGetLabelParms (
ByRef axis As Integer,
ByRef min_loc As Double,
ByRef min_orient As Integer,
ByRef max_loc As Double,
ByRef max_orient As Integer,
ByRef interval As Double,
ByRef font As String,
font_sz As Integer,
ByRef text_size As Double,
ByRef color As String,
color_sz As Integer,
ByRef bound As Integer,
xy As Integer
)
public:
void IGetLabelParms(
int% axis,
double% min_loc,
int% min_orient,
double% max_loc,
int% max_orient,
double% interval,
String^% font,
int font_sz,
double% text_size,
String^% color,
int color_sz,
int% bound,
int xy
)
public:
void IGetLabelParms(
int% axis,
double% min_loc,
int% min_orient,
double% max_loc,
int% max_orient,
double% interval,
String^% font,
int font_sz,
double% text_size,
String^% color,
int color_sz,
int% bound,
int xy
)
member IGetLabelParms :
axis : int byref *
min_loc : float byref *
min_orient : int byref *
max_loc : float byref *
max_orient : int byref *
interval : float byref *
font : string byref *
font_sz : int *
text_size : float byref *
color : string byref *
color_sz : int *
bound : int byref *
xy : int -> unit
member IGetLabelParms :
axis : int byref *
min_loc : float byref *
min_orient : int byref *
max_loc : float byref *
max_orient : int byref *
interval : float byref *
font : string byref *
font_sz : int *
text_size : float byref *
color : string byref *
color_sz : int *
bound : int byref *
xy : int -> unit
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 - font_sz
- Type: SystemInt32
Font name string size - 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 - color_sz
- Type: SystemInt32
Color string size - bound
- Type: SystemInt32
?LABELBOUND - Edge bound. 0 - No - xy
- Type: SystemInt32
<define>STK_AXIS</define>
Remarks
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.
See Also