 | CSTKSetGridParms Method |
Set background grid parameters in STK object
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetGridParms(
int grid,
double min_x,
double max_x,
double min_y,
double max_y,
double thick,
double cross,
double x_sep,
double y_sep,
string color,
int grid12
)
public void SetGridParms(
int grid,
double min_x,
double max_x,
double min_y,
double max_y,
double thick,
double cross,
double x_sep,
double y_sep,
string color,
int grid12
)
Public Sub SetGridParms (
grid As Integer,
min_x As Double,
max_x As Double,
min_y As Double,
max_y As Double,
thick As Double,
cross As Double,
x_sep As Double,
y_sep As Double,
color As String,
grid12 As Integer
)
Public Sub SetGridParms (
grid As Integer,
min_x As Double,
max_x As Double,
min_y As Double,
max_y As Double,
thick As Double,
cross As Double,
x_sep As Double,
y_sep As Double,
color As String,
grid12 As Integer
)
public:
void SetGridParms(
int grid,
double min_x,
double max_x,
double min_y,
double max_y,
double thick,
double cross,
double x_sep,
double y_sep,
String^ color,
int grid12
)
public:
void SetGridParms(
int grid,
double min_x,
double max_x,
double min_y,
double max_y,
double thick,
double cross,
double x_sep,
double y_sep,
String^ color,
int grid12
)
member SetGridParms :
grid : int *
min_x : float *
max_x : float *
min_y : float *
max_y : float *
thick : float *
cross : float *
x_sep : float *
y_sep : float *
color : string *
grid12 : int -> unit
member SetGridParms :
grid : int *
min_x : float *
max_x : float *
min_y : float *
max_y : float *
thick : float *
cross : float *
x_sep : float *
y_sep : float *
color : string *
grid12 : int -> unit
Parameters
- grid
- Type: SystemInt32
Type of grid to draw: - min_x
- Type: SystemDouble
Minimum X in ground unit to draw grid - max_x
- Type: SystemDouble
Maximum X in ground unit to draw grid - min_y
- Type: SystemDouble
Minimum Y in ground unit to draw grid - max_y
- Type: SystemDouble
Maximum Y in ground unit to draw grid - thick
- Type: SystemDouble
Line thickness in mm. Default is 0.01mm - cross
- Type: SystemDouble
Cross size or separation between dots in mm. - x_sep
- Type: SystemDouble
Separation between vertical grid lines. - y_sep
- Type: SystemDouble
Separation between horizontal grid lines. - color
- Type: SystemString
Grid line color string in RGB model. Default is black - grid12
- Type: SystemInt32
<define>STK_GRID</define>
Remarks
See MSTK for detailed description of all function parameters
? mark in the note represent either X and Y
See Also