Click or drag to resize
CSTKIGetGridParms Method (Int32, Double, Double, Double, Double, Double, Double, Double, Double, String, Int32, Int32)
Get background grid parameters in STK object

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
Syntax
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 color_sz,
	int grid12
)

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
color_sz
Type: SystemInt32
Color string length
grid12
Type: SystemInt32
<define>STK_GRID</define>
See Also