 | CSTKIGetGridParms Method (Int32, Double, Double, Double, Double, Double, Double, Double, Double, String, Int32) |
Get 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 IGetGridParms(
ref int grid,
ref double min_x,
ref double max_x,
ref double min_y,
ref double max_y,
ref double thick,
ref double cross,
ref double x_sep,
ref double y_sep,
ref string color,
int grid12
)
public void IGetGridParms(
ref int grid,
ref double min_x,
ref double max_x,
ref double min_y,
ref double max_y,
ref double thick,
ref double cross,
ref double x_sep,
ref double y_sep,
ref string color,
int grid12
)
Public Sub IGetGridParms (
ByRef grid As Integer,
ByRef min_x As Double,
ByRef max_x As Double,
ByRef min_y As Double,
ByRef max_y As Double,
ByRef thick As Double,
ByRef cross As Double,
ByRef x_sep As Double,
ByRef y_sep As Double,
ByRef color As String,
grid12 As Integer
)
Public Sub IGetGridParms (
ByRef grid As Integer,
ByRef min_x As Double,
ByRef max_x As Double,
ByRef min_y As Double,
ByRef max_y As Double,
ByRef thick As Double,
ByRef cross As Double,
ByRef x_sep As Double,
ByRef y_sep As Double,
ByRef color As String,
grid12 As Integer
)
public:
void IGetGridParms(
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 IGetGridParms(
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 IGetGridParms :
grid : int byref *
min_x : float byref *
max_x : float byref *
min_y : float byref *
max_y : float byref *
thick : float byref *
cross : float byref *
x_sep : float byref *
y_sep : float byref *
color : string byref *
grid12 : int -> unit
member IGetGridParms :
grid : int byref *
min_x : float byref *
max_x : float byref *
min_y : float byref *
max_y : float byref *
thick : float byref *
cross : float byref *
x_sep : float byref *
y_sep : float byref *
color : string byref *
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